blob: c21e460f393cb39a817863c8534f0aca4cd200d9 [file] [log] [blame]
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +05301LOCAL_DIR := $(GET_LOCAL_DIR)
2
3ARCH := arm
4ARM_CPU := cortex-a8
5CPU := generic
6
7DEFINES += ARM_CPU_CORE_KRAIT
8
9MMC_SLOT := 1
10
11DEFINES += PERIPH_BLK_BLSP=1
12DEFINES += WITH_CPU_EARLY_INIT=0 WITH_CPU_WARM_BOOT=0 \
V S Ramanjaneya Kumar Tc1945892013-08-27 11:39:53 +053013 MMC_SLOT=$(MMC_SLOT)
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053014
15INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared/include
16
Venkatesh Yadav Abbarapud5e4f7a2014-05-19 13:56:41 +053017# Disabling stack-protection for lk
18# as it's not yet supported by bootloader's libc
19CFLAGS += -fno-stack-protector
20
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053021DEVS += fbcon
22MODULES += dev/fbcon
23
24OBJS += \
25 $(LOCAL_DIR)/platform.o \
26 $(LOCAL_DIR)/acpuclock.o \
27 $(LOCAL_DIR)/fsm9900-clock.o \
28 $(LOCAL_DIR)/gpio.o
29
30LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld
31
32include platform/msm_shared/rules.mk