Smita Solanki | 6bd7d5f | 2014-01-03 06:42:36 -0800 | [diff] [blame] | 1 | # top level project rules for the mdm9635 project |
Sundarajan Srinivasan | 1dc335e | 2013-07-03 11:14:54 -0700 | [diff] [blame] | 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
Smita Solanki | 6bd7d5f | 2014-01-03 06:42:36 -0800 | [diff] [blame] | 5 | TARGET := mdm9635 |
Sundarajan Srinivasan | 1dc335e | 2013-07-03 11:14:54 -0700 | [diff] [blame] | 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
Sridhar Parasuram | ecdb5d9 | 2014-11-19 16:21:28 -0800 | [diff] [blame] | 9 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 10 | DEBUG := 0 |
| 11 | else |
Sundarajan Srinivasan | 1dc335e | 2013-07-03 11:14:54 -0700 | [diff] [blame] | 12 | DEBUG := 1 |
Sridhar Parasuram | ecdb5d9 | 2014-11-19 16:21:28 -0800 | [diff] [blame] | 13 | endif |
Sundarajan Srinivasan | 1dc335e | 2013-07-03 11:14:54 -0700 | [diff] [blame] | 14 | |
| 15 | #DEFINES += WITH_DEBUG_DCC=1 |
| 16 | DEFINES += WITH_DEBUG_UART=1 |
| 17 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 18 | DEFINES += DEVICE_TREE=1 |
Sundarajan Srinivasan | 29d927c | 2014-02-10 14:11:24 -0800 | [diff] [blame] | 19 | DEFINES += CONTIGUOUS_MEMORY=1 |
Sundarajan Srinivasan | 1dc335e | 2013-07-03 11:14:54 -0700 | [diff] [blame] | 20 | #disable Thumb mode for the codesourcery/arm-2011.03 toolchain |
| 21 | ENABLE_THUMB := false |
Channagoud Kadabi | efe5d01 | 2014-03-03 16:42:19 -0800 | [diff] [blame] | 22 | |
| 23 | #Override linker for mdm targets |
| 24 | LD := $(TOOLCHAIN_PREFIX)ld.bfd |
Channagoud Kadabi | 9543191 | 2014-02-04 17:11:48 -0800 | [diff] [blame] | 25 | |
| 26 | ENABLE_USB30_SUPPORT := 1 |
| 27 | |
| 28 | ifeq ($(ENABLE_USB30_SUPPORT),1) |
| 29 | DEFINES += USB30_SUPPORT=1 |
| 30 | endif |
Devendra Patel | abd5197 | 2014-10-21 17:57:33 -0700 | [diff] [blame] | 31 | |
| 32 | ENABLE_SMD_SUPPORT := 1 |
| 33 | |
| 34 | ifeq ($(ENABLE_SMD_SUPPORT),1) |
| 35 | DEFINES += SMD_SUPPORT=1 |
| 36 | endif |