Joonwoo Park | 0c484d0 | 2014-04-22 17:53:32 -0700 | [diff] [blame] | 1 | # top level project rules for the msmzirc project |
| 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
| 5 | TARGET := msmzirc |
| 6 | |
| 7 | DEBUG := 1 |
| 8 | ENABLE_USB30_SUPPORT := 1 |
| 9 | ENABLE_SDHCI_SUPPORT := 1 |
| 10 | ENABLE_BOOT_CONFIG_SUPPORT := 1 |
| 11 | |
| 12 | MODULES += app/aboot |
| 13 | |
| 14 | #DEFINES += WITH_DEBUG_DCC=1 |
| 15 | DEFINES += WITH_DEBUG_UART=1 |
| 16 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 17 | DEFINES += DEVICE_TREE=1 |
| 18 | DEFINES += SPMI_CORE_V2=1 |
Joonwoo Park | 419b94c | 2014-05-15 10:51:19 -0700 | [diff] [blame] | 19 | DEFINES += BAM_V170=1 |
Joonwoo Park | 0c484d0 | 2014-04-22 17:53:32 -0700 | [diff] [blame] | 20 | |
| 21 | ifeq ($(ENABLE_USB30_SUPPORT),1) |
| 22 | DEFINES += USB30_SUPPORT=1 |
| 23 | endif |
| 24 | |
| 25 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 26 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 27 | endif |
| 28 | |
| 29 | #disable Thumb mode for the codesourcery/arm-2011.03 toolchain |
| 30 | ENABLE_THUMB := false |
| 31 | |
| 32 | #Override linker for mdm targets |
| 33 | LD := $(TOOLCHAIN_PREFIX)ld.bfd |