Amol Jadi | 42d7b5a | 2012-05-04 14:50:32 -0700 | [diff] [blame] | 1 | # top level project rules for the mdm9615 project |
| 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
| 5 | TARGET := mdm9625 |
| 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
Sridhar Parasuram | b1afb5f | 2014-11-19 16:22:39 -0800 | [diff] [blame] | 9 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 10 | DEBUG := 0 |
| 11 | else |
Deepa Dinamani | dca5c66 | 2012-12-03 14:13:07 -0800 | [diff] [blame] | 12 | DEBUG := 1 |
Sridhar Parasuram | b1afb5f | 2014-11-19 16:22:39 -0800 | [diff] [blame] | 13 | endif |
Deepa Dinamani | dca5c66 | 2012-12-03 14:13:07 -0800 | [diff] [blame] | 14 | |
Amol Jadi | 42d7b5a | 2012-05-04 14:50:32 -0700 | [diff] [blame] | 15 | #DEFINES += WITH_DEBUG_DCC=1 |
Deepa Dinamani | dca5c66 | 2012-12-03 14:13:07 -0800 | [diff] [blame] | 16 | DEFINES += WITH_DEBUG_UART=1 |
Amol Jadi | 42d7b5a | 2012-05-04 14:50:32 -0700 | [diff] [blame] | 17 | #DEFINES += WITH_DEBUG_FBCON=1 |
Deepa Dinamani | 28c0ffe | 2012-09-24 11:45:21 -0700 | [diff] [blame] | 18 | DEFINES += DEVICE_TREE=1 |
Amol Jadi | 42d7b5a | 2012-05-04 14:50:32 -0700 | [diff] [blame] | 19 | |
| 20 | #disable Thumb mode for the codesourcery/arm-2011.03 toolchain |
| 21 | ENABLE_THUMB := false |
Channagoud Kadabi | acfa1c4 | 2014-03-03 16:43:04 -0800 | [diff] [blame] | 22 | |
| 23 | #Override linker |
| 24 | LD := $(TOOLCHAIN_PREFIX)ld.bfd |