Unnati Gandhi | b2eaaa5 | 2014-07-07 11:34:37 +0530 | [diff] [blame] | 1 | # top level project rules for the ferrum project |
| 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
| 5 | TARGET := ferrum |
| 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
| 9 | DEBUG := 1 |
| 10 | EMMC_BOOT := 1 |
| 11 | |
| 12 | #DEFINES += WITH_DEBUG_DCC=1 |
| 13 | DEFINES += WITH_DEBUG_UART=1 |
| 14 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 15 | DEFINES += DEVICE_TREE=1 |
| 16 | #DEFINES += MMC_BOOT_BAM=1 |
| 17 | #DEFINES += CRYPTO_BAM=1 |
| 18 | #DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
| 19 | |
| 20 | #DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x80008000 |
| 21 | #DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x82000000 |
| 22 | #DEFINES += ABOOT_FORCE_TAGS_ADDR=0x81E00000 |
| 23 | |
| 24 | #Disable thumb mode |
| 25 | ENABLE_THUMB := false |
| 26 | |
Unnati Gandhi | dd5a2ab | 2014-07-15 23:20:30 +0530 | [diff] [blame] | 27 | ENABLE_SDHCI_SUPPORT := 1 |
| 28 | |
| 29 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 30 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 31 | endif |
| 32 | |
Unnati Gandhi | b2eaaa5 | 2014-07-07 11:34:37 +0530 | [diff] [blame] | 33 | ifeq ($(EMMC_BOOT),1) |
| 34 | DEFINES += _EMMC_BOOT=1 |
| 35 | endif |