blob: 6f759952fa47cfd5d9f16a91db44347d4ef6aa99 [file] [log] [blame]
Brian Swetland2500aa12009-01-01 04:33:55 -08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
Ajay Dudani168f6cb2009-12-07 19:04:02 -08003INCLUDES += \
4 -I$(LOCAL_DIR)/include
5
Chandan Uddaraju2943fd62010-06-21 10:56:39 -07006DEFINES += $(TARGET_XRES)
7DEFINES += $(TARGET_YRES)
8
Brian Swetland2500aa12009-01-01 04:33:55 -08009OBJS += \
Brian Swetland9a477532009-01-01 11:40:02 -080010 $(LOCAL_DIR)/timer.o \
Brian Swetlandddf61a22009-01-29 20:46:14 -080011 $(LOCAL_DIR)/debug.o \
Dima Zavina404bce2009-01-26 12:32:22 -080012 $(LOCAL_DIR)/smem.o \
Dima Zavin9caac252009-01-26 12:37:15 -080013 $(LOCAL_DIR)/smem_ptable.o \
Dima Zavin03cf4312009-01-23 16:38:30 -080014 $(LOCAL_DIR)/hsusb.o \
Ajay Dudani168f6cb2009-12-07 19:04:02 -080015 $(LOCAL_DIR)/jtag_hook.o \
16 $(LOCAL_DIR)/jtag.o \
Shashank Mittal4f99a882010-02-01 13:58:50 -080017 $(LOCAL_DIR)/nand.o \
Kinson Chik66552a82011-03-29 15:59:06 -070018 $(LOCAL_DIR)/mmc.o \
19 $(LOCAL_DIR)/partition_parser.o
Brian Swetland2500aa12009-01-01 04:33:55 -080020
Shashank Mittalc69512e2010-09-22 16:40:48 -070021ifeq ($(PLATFORM),msm8x60)
Chandan Uddaraju78ae6752010-10-19 12:57:10 -070022 OBJS += $(LOCAL_DIR)/mipi_dsi.o \
Amol Jadidb1edb32011-07-18 14:24:46 -070023 $(LOCAL_DIR)/i2c_qup.o \
24 $(LOCAL_DIR)/uart_dm.o \
25 $(LOCAL_DIR)/crypto_eng.o \
26 $(LOCAL_DIR)/crypto_hash.o \
Shashank Mittal162244e2011-08-08 19:01:25 -070027 $(LOCAL_DIR)/scm.o \
Amol Jadidb1edb32011-07-18 14:24:46 -070028 $(LOCAL_DIR)/lcdc.o \
29 $(LOCAL_DIR)/mddi.o \
Kinson Chikfe931032011-07-21 10:01:34 -070030 $(LOCAL_DIR)/qgic.o \
Shashank Mittalcd98d472011-08-02 14:29:24 -070031 $(LOCAL_DIR)/mdp4.o \
32 $(LOCAL_DIR)/certificate.o \
Channagoud Kadabie4884122011-09-21 23:54:44 +053033 $(LOCAL_DIR)/image_verify.o \
Channagoud Kadabi81ba1102011-10-01 16:37:59 +053034 $(LOCAL_DIR)/hdmi.o \
35 $(LOCAL_DIR)/interrupts.o
Shashank Mittalc69512e2010-09-22 16:40:48 -070036endif
37
Amol Jadicd43ea02011-02-15 20:56:04 -080038ifeq ($(PLATFORM),msm8960)
39 OBJS += $(LOCAL_DIR)/mipi_dsi.o \
Amol Jadidb1edb32011-07-18 14:24:46 -070040 $(LOCAL_DIR)/i2c_qup.o \
41 $(LOCAL_DIR)/uart_dm.o \
Kinson Chikfe931032011-07-21 10:01:34 -070042 $(LOCAL_DIR)/qgic.o \
Shashank Mittal1fcde7a2011-07-25 13:41:50 -070043 $(LOCAL_DIR)/mdp4.o \
44 $(LOCAL_DIR)/crypto4_eng.o \
Shashank Mittalcd98d472011-08-02 14:29:24 -070045 $(LOCAL_DIR)/crypto_hash.o \
46 $(LOCAL_DIR)/certificate.o \
Kinson Chik35987ea2011-09-16 09:06:33 -070047 $(LOCAL_DIR)/image_verify.o \
Channagoud Kadabi81ba1102011-10-01 16:37:59 +053048 $(LOCAL_DIR)/scm.o \
Shashank Mittal30262902012-02-21 15:37:24 -080049 $(LOCAL_DIR)/interrupts.o \
50 $(LOCAL_DIR)/clock-local.o \
Shashank Mittala635abf2012-03-28 18:11:43 -070051 $(LOCAL_DIR)/clock.o \
Shashank Mittal4bfb2e32012-04-16 10:56:27 -070052 $(LOCAL_DIR)/board.o \
53 $(LOCAL_DIR)/display.o \
54 $(LOCAL_DIR)/lvds.o \
55 $(LOCAL_DIR)/mipi_dsi_phy.o
Amol Jadicd43ea02011-02-15 20:56:04 -080056endif
57
Kinson Chikf910f9e2011-07-12 09:08:09 -070058ifeq ($(PLATFORM),msm7x27a)
59 OBJS += $(LOCAL_DIR)/uart.o \
Amol Jadidb1edb32011-07-18 14:24:46 -070060 $(LOCAL_DIR)/proc_comm.o \
Aparna Mallavarapuf712f5e2011-08-04 21:11:00 +053061 $(LOCAL_DIR)/mdp3.o \
Channagoud Kadabi2b204562012-02-02 12:26:46 +053062 $(LOCAL_DIR)/mipi_dsi.o \
63 $(LOCAL_DIR)/crypto_eng.o \
64 $(LOCAL_DIR)/crypto_hash.o \
65 $(LOCAL_DIR)/certificate.o \
Channagoud Kadabi81ba1102011-10-01 16:37:59 +053066 $(LOCAL_DIR)/image_verify.o \
67 $(LOCAL_DIR)/qgic.o \
68 $(LOCAL_DIR)/interrupts.o
Amol Jadicd43ea02011-02-15 20:56:04 -080069endif
Kinson Chikf910f9e2011-07-12 09:08:09 -070070
71ifeq ($(PLATFORM),msm7k)
72 OBJS += $(LOCAL_DIR)/uart.o \
Amol Jadidb1edb32011-07-18 14:24:46 -070073 $(LOCAL_DIR)/proc_comm.o \
74 $(LOCAL_DIR)/lcdc.o \
75 $(LOCAL_DIR)/mddi.o
Bikas Gurungd1aa5902010-10-01 23:45:33 -070076endif
Subbaraman Narayanamurthy9b7276c2011-01-25 17:25:30 -080077
78ifeq ($(PLATFORM),msm7x30)
79 OBJS += $(LOCAL_DIR)/crypto_eng.o \
Amol Jadidb1edb32011-07-18 14:24:46 -070080 $(LOCAL_DIR)/crypto_hash.o \
81 $(LOCAL_DIR)/uart.o \
82 $(LOCAL_DIR)/proc_comm.o \
83 $(LOCAL_DIR)/lcdc.o \
Shashank Mittalcd98d472011-08-02 14:29:24 -070084 $(LOCAL_DIR)/mddi.o \
85 $(LOCAL_DIR)/certificate.o \
86 $(LOCAL_DIR)/image_verify.o
Subbaraman Narayanamurthy9b7276c2011-01-25 17:25:30 -080087endif
Kinson Chik18e36332011-08-15 10:07:28 -070088
89ifeq ($(PLATFORM),mdm9x15)
90 OBJS += $(LOCAL_DIR)/qgic.o \
Channagoud Kadabi81ba1102011-10-01 16:37:59 +053091 $(LOCAL_DIR)/uart_dm.o \
92 $(LOCAL_DIR)/interrupts.o
Kinson Chik18e36332011-08-15 10:07:28 -070093endif