blob: 1be7653ad6c99a0ed13aa638bcd351cf1a4cc50b [file] [log] [blame]
Smita Solanki6bd7d5f2014-01-03 06:42:36 -08001# top level project rules for the mdm9635 project
Sundarajan Srinivasan1dc335e2013-07-03 11:14:54 -07002#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
Smita Solanki6bd7d5f2014-01-03 06:42:36 -08005TARGET := mdm9635
Sundarajan Srinivasan1dc335e2013-07-03 11:14:54 -07006
7MODULES += app/aboot
8
Sridhar Parasuramecdb5d92014-11-19 16:21:28 -08009ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
Sundarajan Srinivasan1dc335e2013-07-03 11:14:54 -070012DEBUG := 1
Sridhar Parasuramecdb5d92014-11-19 16:21:28 -080013endif
Sundarajan Srinivasan1dc335e2013-07-03 11:14:54 -070014
15#DEFINES += WITH_DEBUG_DCC=1
16DEFINES += WITH_DEBUG_UART=1
17#DEFINES += WITH_DEBUG_FBCON=1
18DEFINES += DEVICE_TREE=1
Sundarajan Srinivasan29d927c2014-02-10 14:11:24 -080019DEFINES += CONTIGUOUS_MEMORY=1
Sundarajan Srinivasan1dc335e2013-07-03 11:14:54 -070020#disable Thumb mode for the codesourcery/arm-2011.03 toolchain
21ENABLE_THUMB := false
Channagoud Kadabiefe5d012014-03-03 16:42:19 -080022
23#Override linker for mdm targets
24LD := $(TOOLCHAIN_PREFIX)ld.bfd
Channagoud Kadabi95431912014-02-04 17:11:48 -080025
26ENABLE_USB30_SUPPORT := 1
27
28ifeq ($(ENABLE_USB30_SUPPORT),1)
29DEFINES += USB30_SUPPORT=1
30endif
Devendra Patelabd51972014-10-21 17:57:33 -070031
32ENABLE_SMD_SUPPORT := 1
33
34ifeq ($(ENABLE_SMD_SUPPORT),1)
35DEFINES += SMD_SUPPORT=1
36endif