| # top level project rules for the fsm9010 project |
| # |
| LOCAL_DIR := $(GET_LOCAL_DIR) |
| |
| TARGET := fsm9010 |
| |
| MODULES += app/aboot |
| |
| ifeq ($(TARGET_BUILD_VARIANT),user) |
| DEBUG := 0 |
| else |
| DEBUG := 1 |
| endif |
| |
| EMMC_BOOT := 1 |
| ENABLE_SDHCI_SUPPORT := 0 |
| |
| DEFINES += WITH_DEBUG_DCC=1 |
| DEFINES += WITH_DEBUG_UART=1 |
| #DEFINES += WITH_DEBUG_FBCON=1 |
| DEFINES += DEVICE_TREE=1 |
| #DEFINES += MMC_BOOT_BAM=1 |
| DEFINES += CRYPTO_BAM=1 |
| DEFINES += CRYPTO_REG_ACCESS=1 |
| |
| #Disable thumb mode |
| ENABLE_THUMB := false |
| |
| ifeq ($(EMMC_BOOT),1) |
| DEFINES += _EMMC_BOOT=1 |
| endif |
| |
| ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| DEFINES += MMC_SDHCI_SUPPORT=1 |
| endif |