Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 1 | # top level project rules for the msm8610 project |
| 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
| 5 | TARGET := msm8610 |
| 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
| 9 | DEBUG := 1 |
Channagoud Kadabi | 71bfc45 | 2013-08-26 11:47:45 -0700 | [diff] [blame] | 10 | EMMC_BOOT := 1 |
Channagoud Kadabi | e92cdb0 | 2013-05-09 16:06:30 -0700 | [diff] [blame] | 11 | ENABLE_SDHCI_SUPPORT := 1 |
Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 12 | |
Matthew Qin | 52ace62 | 2014-03-06 13:38:59 +0800 | [diff] [blame] | 13 | #enable power on vibrator feature |
| 14 | ENABLE_PON_VIB_SUPPORT := true |
| 15 | |
Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 16 | #DEFINES += WITH_DEBUG_DCC=1 |
| 17 | DEFINES += WITH_DEBUG_UART=1 |
Channagoud Kadabi | b8d03d8 | 2014-01-16 12:31:39 -0800 | [diff] [blame] | 18 | DEFINES += WITH_DEBUG_LOG_BUF=1 |
Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 19 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 20 | DEFINES += DEVICE_TREE=1 |
| 21 | #DEFINES += MMC_BOOT_BAM=1 |
| 22 | #DEFINES += CRYPTO_BAM=1 |
David Ng | cb991b2 | 2013-09-27 12:50:37 -0700 | [diff] [blame] | 23 | DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
| 24 | |
| 25 | DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000 |
| 26 | DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000 |
| 27 | DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000 |
Deepa Dinamani | 50ac930 | 2013-06-26 15:22:47 -0700 | [diff] [blame] | 28 | |
| 29 | #Disable thumb mode |
| 30 | #TODO: The gold linker has issues generating correct |
| 31 | #thumb interworking code for LK. Confirm that the issue |
| 32 | #is with the linker and file a bug report. |
| 33 | ENABLE_THUMB := false |
Channagoud Kadabi | e92cdb0 | 2013-05-09 16:06:30 -0700 | [diff] [blame] | 34 | |
Matthew Qin | 52ace62 | 2014-03-06 13:38:59 +0800 | [diff] [blame] | 35 | ifeq ($(ENABLE_PON_VIB_SUPPORT),true) |
| 36 | DEFINES += PON_VIB_SUPPORT=1 |
| 37 | endif |
| 38 | |
Channagoud Kadabi | e92cdb0 | 2013-05-09 16:06:30 -0700 | [diff] [blame] | 39 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 40 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 41 | endif |