Channagoud Kadabi | 92db112 | 2014-06-25 16:00:13 -0400 | [diff] [blame] | 1 | # top level project rules for the fsm9010 project |
| 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
| 5 | TARGET := fsm9010 |
| 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
Sridhar Parasuram | 6d80546 | 2014-11-19 16:24:23 -0800 | [diff] [blame] | 9 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 10 | DEBUG := 0 |
| 11 | else |
Channagoud Kadabi | 92db112 | 2014-06-25 16:00:13 -0400 | [diff] [blame] | 12 | DEBUG := 1 |
Sridhar Parasuram | 6d80546 | 2014-11-19 16:24:23 -0800 | [diff] [blame] | 13 | endif |
| 14 | |
Channagoud Kadabi | 92db112 | 2014-06-25 16:00:13 -0400 | [diff] [blame] | 15 | EMMC_BOOT := 1 |
Channagoud Kadabi | 196b27c | 2015-01-19 13:53:38 -0500 | [diff] [blame] | 16 | ENABLE_SDHCI_SUPPORT := 1 |
| 17 | ENABLE_USB30_SUPPORT := 1 |
Channagoud Kadabi | 92db112 | 2014-06-25 16:00:13 -0400 | [diff] [blame] | 18 | |
| 19 | DEFINES += WITH_DEBUG_DCC=1 |
| 20 | DEFINES += WITH_DEBUG_UART=1 |
| 21 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 22 | DEFINES += DEVICE_TREE=1 |
| 23 | #DEFINES += MMC_BOOT_BAM=1 |
| 24 | DEFINES += CRYPTO_BAM=1 |
| 25 | DEFINES += CRYPTO_REG_ACCESS=1 |
Channagoud Kadabi | 86e1e82 | 2015-11-02 11:32:34 -0800 | [diff] [blame] | 26 | DEFINES += NO_SCM_V8_SUPPORT=1 |
Channagoud Kadabi | 92db112 | 2014-06-25 16:00:13 -0400 | [diff] [blame] | 27 | |
| 28 | #Disable thumb mode |
| 29 | ENABLE_THUMB := false |
| 30 | |
| 31 | ifeq ($(EMMC_BOOT),1) |
| 32 | DEFINES += _EMMC_BOOT=1 |
| 33 | endif |
| 34 | |
| 35 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 36 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 37 | endif |
Channagoud Kadabi | 196b27c | 2015-01-19 13:53:38 -0500 | [diff] [blame] | 38 | |
| 39 | ifeq ($(ENABLE_USB30_SUPPORT),1) |
| 40 | DEFINES += USB30_SUPPORT=1 |
| 41 | endif |