tizen 2.4 release
[kernel/u-boot-tm1.git] / property / Makefile
1 #
2 # (C) Copyright 2004-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # See file CREDITS for list of people who contributed to this
6 # project.
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 # MA 02111-1307 USA
22 #
23
24 include $(TOPDIR)/config.mk
25
26 LIB     = $(obj)libproperty.o
27
28 COBJS-y += cmd_cboot.o
29 ifdef CONFIG_EMMC_BOOT
30 COBJS-y += normal_emc_mode.o
31 COBJS-y += recv_emc_mode.o
32 else
33 COBJS-y += normal_nand_mode.o
34 COBJS-y += recv_nand_mode.o
35 endif
36 COBJS-$(CONFIG_SPRD_SYSDUMP) += sysdump.o
37 COBJS-y += normal_mode.o
38 COBJS-y += recv_mode.o
39 COBJS-y += thor_mode.o
40 COBJS-y += factorytest_mode.o
41 COBJS-y += charge_mode.o
42 COBJS-y += alarm_mode.o
43 COBJS-y += android_boot.o
44 COBJS-y += calibration_detect.o
45 COBJS-y += engtest_mode.o
46 COBJS-y += vbat_check.o
47 COBJS-y += backupnvitem.o
48 COBJS-y += reboot_mode.o
49 COBJS-y += fs_common_rw.o
50 COBJS-y += modem_entry.o
51 COBJS-y += boot_mode_regist.o
52 COBJS-$(CONFIG_SDRAMDISK) += sd_ramdisk.o
53 COBJS-$(CONFIG_SP7702) += sprd8810_dsp_sleep.o
54 COBJS-$(CONFIG_SP7702) += calibration_mode.o
55 COBJS-$(CONFIG_SP7702) += ap_calibration.o
56 COBJS-$(CONFIG_SP8810W) += sprd8810_dsp_sleep.o
57 COBJS-$(CONFIG_SP8810W) += calibration_mode.o
58 COBJS-$(CONFIG_SP8810W) += ap_calibration.o
59 COBJS-$(CONFIG_SC7710G2) += calibration_mode.o
60 COBJS-$(CONFIG_SC7710G2) += ap_calibration.o
61 COBJS-$(CONFIG_AUTODLOADER) += autodloader_mode.o
62 COBJS-$(CONFIG_OF_LIBFDT) += dev_tree.o
63 COBJS-$(CONFIG_SECURE_BOOT) += secure_verify.o
64 COBJS-$(CONFIG_SECURE_BOOT) += efuse_operate.o
65 COBJS-$(CONFIG_SECURE_BOOT) += secure_efuse.o
66 COBJS-$(CONFIG_TIZEN) += tizen_misc.o
67
68 COBJS-y += usb/drv_cdc.o
69 COBJS-y += usb/cdc_descriptor.o
70 COBJS-y += usb/usb_hw.o
71
72 COBJS   := $(sort $(COBJS-y))
73 SRCS    := $(COBJS:.o=.c) $(XCOBJS:.o=.c)
74 OBJS    := $(addprefix $(obj),$(COBJS))
75
76 CPPFLAGS += -I..
77
78 all:    $(LIB)
79
80 $(LIB): $(obj).depend $(OBJS)
81         $(call cmd_link_o_target, $(OBJS))
82
83 #########################################################################
84
85 # defines $(obj).depend target
86 include $(SRCTREE)/rules.mk
87
88 sinclude $(obj).depend
89
90 #########################################################################