blob: 5f58ee1f1512854166282110cbc35dd2e3b474bf [file] [log] [blame]
Shashank Mittal23b8f422010-04-16 19:27:21 -07001LOCAL_DIR := $(GET_LOCAL_DIR)
2
Amol Jadi9ef9b732011-05-23 16:00:17 -07003ARCH := arm
Shashank Mittal23b8f422010-04-16 19:27:21 -07004ARM_CPU := cortex-a8
Amol Jadi9ef9b732011-05-23 16:00:17 -07005CPU := generic
6
7DEFINES += ARM_CPU_CORE_SCORPION
Shashank Mittal23b8f422010-04-16 19:27:21 -07008
9MMC_SLOT := 1
10
11DEFINES += WITH_CPU_EARLY_INIT=0 WITH_CPU_WARM_BOOT=0 \
kchik@codeaurora.orgbce18ea2011-04-18 20:22:28 -070012 MMC_SLOT=$(MMC_SLOT) MDP4=1 \
Shashank Mittal162244e2011-08-08 19:01:25 -070013 SSD_ENABLE TZ_TAMPER_FUSE
kchik@codeaurora.orgbce18ea2011-04-18 20:22:28 -070014
Shashank Mittal23b8f422010-04-16 19:27:21 -070015
Subbaraman Narayanamurthy8f0b0452011-03-11 18:30:10 -080016DEFINES += QT_8660_KEYPAD_HW_BUG=1
17
Shashank Mittal7afbf282010-06-02 19:48:31 -070018INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared/include
Shashank Mittal23b8f422010-04-16 19:27:21 -070019
20DEVS += fbcon
21MODULES += dev/fbcon
22
23OBJS += \
24 $(LOCAL_DIR)/platform.o \
Shashank Mittal23b8f422010-04-16 19:27:21 -070025 $(LOCAL_DIR)/acpuclock.o \
Shashank Mittal402d0972010-09-29 10:09:52 -070026 $(LOCAL_DIR)/gpio.o \
27 $(LOCAL_DIR)/panel.o \
Wentao Xu8d6150c2011-06-22 11:03:18 -040028 $(LOCAL_DIR)/panel_auo_wvga.o \
Ajay Dudani8534b1a2011-01-26 11:35:39 -080029 $(LOCAL_DIR)/pmic.o \
Subbaraman Narayanamurthy8f1ffa52011-06-03 12:33:01 -070030 $(LOCAL_DIR)/pmic_pwm.o \
Subbaraman Narayanamurthy8c7cd222011-06-16 18:24:28 -070031 $(LOCAL_DIR)/pmic_batt_alarm.o \
Channagoud Kadabie4884122011-09-21 23:54:44 +053032 $(LOCAL_DIR)/scm-io.o \
33 $(LOCAL_DIR)/hdmi_core.o
Shashank Mittal23b8f422010-04-16 19:27:21 -070034
35LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld
36
37include platform/msm_shared/rules.mk
38