blob: c07fefa9eb591fa4b5b75160c625c176bdc09127 [file] [log] [blame]
#
# (C) Copyright 2000
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# See file CREDITS for list of people who contributed to this
# project.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG -DDEBUG
LIB = libdrivers.a
OBJS = ddr.o uart.o dwc_otg_cil.o dwc_otg_cil_intr.o dwc_otg_dev_test.o \
dwc_otg_pcd.o dwc_otg_pcd_intr.o global.o \
download.o drv_hash.o drv_rsa.o \
flash.o image.o efuse.o secure_verify.o
ifeq ($(strip $(board)),$(filter $(board),mdl_mini mifi_mini mifi_mini_xr819 ufi_mini mifi_mini_64 mdl_mini_64))
OBJS += nor.o
else
OBJS += bbt.o spifc.o
endif
all: $(LIB)
$(LIB): $(OBJS)
$(AR) crv $@ $(OBJS)
#########################################################################
sinclude .depend
#########################################################################