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