blob: b0a20700140572e94cad4ca243891a3adf929fc4 [file] [log] [blame]
Aparna Mallavarapu9e014372013-10-19 15:04:58 +05301LOCAL_DIR := $(GET_LOCAL_DIR)
2
3ARCH := arm
4#Compiling this as cortex-a8 until the compiler supports krait
5ARM_CPU := cortex-a8
6CPU := generic
7
8DEFINES += ARM_CPU_CORE_A7
9
10MMC_SLOT := 1
11
12DEFINES += PERIPH_BLK_BLSP=1
13DEFINES += WITH_CPU_EARLY_INIT=0 WITH_CPU_WARM_BOOT=0 \
Aparna Mallavarapu2e899672014-04-22 15:12:05 +053014 MMC_SLOT=$(MMC_SLOT) SSD_ENABLE
Aparna Mallavarapu9e014372013-10-19 15:04:58 +053015
16INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared/include
17
Padmanabhan Komandurucd5645e2014-03-25 20:34:18 +053018DEVS += fbcon
19MODULES += dev/fbcon
20
Aparna Mallavarapu9e014372013-10-19 15:04:58 +053021OBJS += \
22 $(LOCAL_DIR)/platform.o \
23 $(LOCAL_DIR)/acpuclock.o \
Aparna Mallavarapu70e5df52014-02-27 22:51:29 -080024 $(LOCAL_DIR)/msm8916-clock.o \
Aparna Mallavarapu9e014372013-10-19 15:04:58 +053025 $(LOCAL_DIR)/gpio.o
26
27LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld
28
29include platform/msm_shared/rules.mk