blob: d1dcd5321239a75a6eed3b75361914fa8f323c31 [file] [log] [blame]
LOCAL_DIR := $(GET_LOCAL_DIR)
INCLUDES += \
-I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/dev/panel/msm
DEFINES += $(TARGET_XRES)
DEFINES += $(TARGET_YRES)
OBJS += \
$(LOCAL_DIR)/debug.o \
$(LOCAL_DIR)/smem.o \
$(LOCAL_DIR)/smem_ptable.o \
$(LOCAL_DIR)/hsusb.o \
$(LOCAL_DIR)/jtag_hook.o \
$(LOCAL_DIR)/jtag.o \
$(LOCAL_DIR)/mmc.o \
$(LOCAL_DIR)/partition_parser.o
ifeq ($(PLATFORM),msm8x60)
OBJS += $(LOCAL_DIR)/mipi_dsi.o \
$(LOCAL_DIR)/i2c_qup.o \
$(LOCAL_DIR)/uart_dm.o \
$(LOCAL_DIR)/crypto_eng.o \
$(LOCAL_DIR)/crypto_hash.o \
$(LOCAL_DIR)/scm.o \
$(LOCAL_DIR)/lcdc.o \
$(LOCAL_DIR)/mddi.o \
$(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/mdp4.o \
$(LOCAL_DIR)/certificate.o \
$(LOCAL_DIR)/image_verify.o \
$(LOCAL_DIR)/hdmi.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/timer.o \
$(LOCAL_DIR)/nand.o
endif
ifeq ($(PLATFORM),msm8960)
OBJS += $(LOCAL_DIR)/mipi_dsi.o \
$(LOCAL_DIR)/i2c_qup.o \
$(LOCAL_DIR)/uart_dm.o \
$(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/mdp4.o \
$(LOCAL_DIR)/crypto4_eng.o \
$(LOCAL_DIR)/crypto_hash.o \
$(LOCAL_DIR)/certificate.o \
$(LOCAL_DIR)/image_verify.o \
$(LOCAL_DIR)/scm.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/clock-local.o \
$(LOCAL_DIR)/clock.o \
$(LOCAL_DIR)/clock_pll.o \
$(LOCAL_DIR)/board.o \
$(LOCAL_DIR)/display.o \
$(LOCAL_DIR)/lvds.o \
$(LOCAL_DIR)/mipi_dsi_phy.o \
$(LOCAL_DIR)/timer.o \
$(LOCAL_DIR)/mdp_lcdc.o \
$(LOCAL_DIR)/nand.o
endif
ifeq ($(PLATFORM),msm8974)
OBJS += $(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/qtimer.o \
$(LOCAL_DIR)/qtimer_mmap.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/clock.o \
$(LOCAL_DIR)/clock_pll.o \
$(LOCAL_DIR)/clock_lib2.o \
$(LOCAL_DIR)/uart_dm.o \
$(LOCAL_DIR)/board.o \
$(LOCAL_DIR)/scm.o \
$(LOCAL_DIR)/mdp5.o \
$(LOCAL_DIR)/display.o \
$(LOCAL_DIR)/mipi_dsi.o \
$(LOCAL_DIR)/mipi_dsi_phy.o \
$(LOCAL_DIR)/spmi.o \
$(LOCAL_DIR)/bam.o \
$(LOCAL_DIR)/qpic_nand.o \
$(LOCAL_DIR)/dev_tree.o \
$(LOCAL_DIR)/certificate.o \
$(LOCAL_DIR)/image_verify.o \
$(LOCAL_DIR)/crypto_hash.o \
$(LOCAL_DIR)/crypto5_eng.o \
$(LOCAL_DIR)/crypto5_wrapper.o \
$(LOCAL_DIR)/i2c_qup.o
endif
ifeq ($(PLATFORM),msm8226)
OBJS += $(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/qtimer.o \
$(LOCAL_DIR)/qtimer_mmap.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/clock.o \
$(LOCAL_DIR)/clock_pll.o \
$(LOCAL_DIR)/clock_lib2.o \
$(LOCAL_DIR)/uart_dm.o \
$(LOCAL_DIR)/board.o \
$(LOCAL_DIR)/spmi.o \
$(LOCAL_DIR)/bam.o \
$(LOCAL_DIR)/qpic_nand.o \
$(LOCAL_DIR)/dev_tree.o
endif
ifeq ($(PLATFORM),msm7x27a)
OBJS += $(LOCAL_DIR)/uart.o \
$(LOCAL_DIR)/nand.o \
$(LOCAL_DIR)/proc_comm.o \
$(LOCAL_DIR)/mdp3.o \
$(LOCAL_DIR)/mipi_dsi.o \
$(LOCAL_DIR)/crypto_eng.o \
$(LOCAL_DIR)/crypto_hash.o \
$(LOCAL_DIR)/certificate.o \
$(LOCAL_DIR)/image_verify.o \
$(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/timer.o \
$(LOCAL_DIR)/display.o \
$(LOCAL_DIR)/mipi_dsi_phy.o \
$(LOCAL_DIR)/mdp_lcdc.o \
$(LOCAL_DIR)/spi.o
endif
ifeq ($(PLATFORM),msm7k)
OBJS += $(LOCAL_DIR)/uart.o \
$(LOCAL_DIR)/nand.o \
$(LOCAL_DIR)/proc_comm.o \
$(LOCAL_DIR)/lcdc.o \
$(LOCAL_DIR)/mddi.o \
$(LOCAL_DIR)/timer.o
endif
ifeq ($(PLATFORM),msm7x30)
OBJS += $(LOCAL_DIR)/crypto_eng.o \
$(LOCAL_DIR)/crypto_hash.o \
$(LOCAL_DIR)/uart.o \
$(LOCAL_DIR)/nand.o \
$(LOCAL_DIR)/proc_comm.o \
$(LOCAL_DIR)/lcdc.o \
$(LOCAL_DIR)/mddi.o \
$(LOCAL_DIR)/certificate.o \
$(LOCAL_DIR)/image_verify.o \
$(LOCAL_DIR)/timer.o
endif
ifeq ($(PLATFORM),mdm9x15)
OBJS += $(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/nand.o \
$(LOCAL_DIR)/uart_dm.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/timer.o
endif
ifeq ($(PLATFORM),mdm9x25)
OBJS += $(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/uart_dm.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/qtimer.o \
$(LOCAL_DIR)/qtimer_mmap.o \
$(LOCAL_DIR)/board.o \
$(LOCAL_DIR)/spmi.o \
$(LOCAL_DIR)/qpic_nand.o \
$(LOCAL_DIR)/bam.o \
$(LOCAL_DIR)/dev_tree.o \
$(LOCAL_DIR)/clock.o \
$(LOCAL_DIR)/clock_pll.o \
$(LOCAL_DIR)/clock_lib2.o
endif