blob: b240b32c26a22db1dcf16a49f3f381fe3d3b467c [file] [log] [blame]
vijay kumardb062a32015-10-30 12:32:15 +05301# top level project rules for the mdm9607 project
vijay kumar560e77c2015-04-20 15:26:29 +05302#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
vijay kumardb062a32015-10-30 12:32:15 +05305TARGET := mdm9607
vijay kumar560e77c2015-04-20 15:26:29 +05306
7MODULES += app/aboot
8
9ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
12DEBUG := 1
13endif
14
Vijay Kumar Pendoti7f0f1e12016-04-06 20:18:13 +053015ifeq ($(TARGET_BOOTIMG_SIGNED),true)
16CFLAGS += -D_SIGNED_KERNEL=1
17endif
18
vijay kumar560e77c2015-04-20 15:26:29 +053019DEFINES += WITH_DEBUG_UART=1
vijay kumard7904e72015-07-23 12:48:03 +053020DEFINES += WITH_DEBUG_LOG_BUF=1
vijay kumar560e77c2015-04-20 15:26:29 +053021DEFINES += DEVICE_TREE=1
vijay kumard7904e72015-07-23 12:48:03 +053022DEFINES += CONTIGUOUS_MEMORY=1
vijay kumar560e77c2015-04-20 15:26:29 +053023
vijay kumar20627da2015-10-01 13:28:58 +053024DEFINES += SPMI_CORE_V2=1
vijay kumar560e77c2015-04-20 15:26:29 +053025DEFINES += BAM_V170=1
26#Disable thumb mode
27ENABLE_THUMB := false
28
29#Override linker for mdm targets
30LD := $(TOOLCHAIN_PREFIX)ld.bfd
31
32ENABLE_SMD_SUPPORT := 1
33ifeq ($(ENABLE_SMD_SUPPORT),1)
34DEFINES += SMD_SUPPORT=1
35endif