# # (C) Copyright 2004-2006 # 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 LIB = $(obj)libproperty.o COBJS-y += cmd_cboot.o ifdef CONFIG_EMMC_BOOT COBJS-y += normal_emc_mode.o COBJS-y += recv_emc_mode.o else COBJS-y += normal_nand_mode.o COBJS-y += recv_nand_mode.o endif COBJS-$(CONFIG_SPRD_SYSDUMP) += sysdump.o COBJS-y += normal_mode.o COBJS-y += recv_mode.o COBJS-y += thor_mode.o COBJS-y += factorytest_mode.o COBJS-y += charge_mode.o COBJS-y += alarm_mode.o COBJS-y += android_boot.o COBJS-y += calibration_detect.o COBJS-y += engtest_mode.o COBJS-y += vbat_check.o COBJS-y += backupnvitem.o COBJS-y += reboot_mode.o COBJS-y += fs_common_rw.o COBJS-y += modem_entry.o COBJS-y += boot_mode_regist.o COBJS-$(CONFIG_SDRAMDISK) += sd_ramdisk.o COBJS-$(CONFIG_SP7702) += sprd8810_dsp_sleep.o COBJS-$(CONFIG_SP7702) += calibration_mode.o COBJS-$(CONFIG_SP7702) += ap_calibration.o COBJS-$(CONFIG_SP8810W) += sprd8810_dsp_sleep.o COBJS-$(CONFIG_SP8810W) += calibration_mode.o COBJS-$(CONFIG_SP8810W) += ap_calibration.o COBJS-$(CONFIG_SC7710G2) += calibration_mode.o COBJS-$(CONFIG_SC7710G2) += ap_calibration.o COBJS-$(CONFIG_AUTODLOADER) += autodloader_mode.o COBJS-$(CONFIG_OF_LIBFDT) += dev_tree.o COBJS-$(CONFIG_SECURE_BOOT) += secure_verify.o COBJS-$(CONFIG_SECURE_BOOT) += efuse_operate.o COBJS-$(CONFIG_SECURE_BOOT) += secure_efuse.o COBJS-$(CONFIG_TIZEN) += tizen_misc.o COBJS-y += usb/drv_cdc.o COBJS-y += usb/cdc_descriptor.o COBJS-y += usb/usb_hw.o COBJS := $(sort $(COBJS-y)) SRCS := $(COBJS:.o=.c) $(XCOBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) CPPFLAGS += -I.. all: $(LIB) $(LIB): $(obj).depend $(OBJS) $(call cmd_link_o_target, $(OBJS)) ######################################################################### # defines $(obj).depend target include $(SRCTREE)/rules.mk sinclude $(obj).depend #########################################################################