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 | |
vijay kumar | 00ee11a | 2014-08-28 16:36:06 +0530 | [diff] [blame] | 9 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 10 | DEBUG := 0 |
| 11 | else |
Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 12 | DEBUG := 1 |
vijay kumar | 00ee11a | 2014-08-28 16:36:06 +0530 | [diff] [blame] | 13 | endif |
| 14 | |
Channagoud Kadabi | 71bfc45 | 2013-08-26 11:47:45 -0700 | [diff] [blame] | 15 | EMMC_BOOT := 1 |
Channagoud Kadabi | e92cdb0 | 2013-05-09 16:06:30 -0700 | [diff] [blame] | 16 | ENABLE_SDHCI_SUPPORT := 1 |
Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 17 | |
Matthew Qin | eb8d94a | 2014-03-06 13:38:59 +0800 | [diff] [blame] | 18 | #enable power on vibrator feature |
| 19 | ENABLE_PON_VIB_SUPPORT := true |
| 20 | |
Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 21 | #DEFINES += WITH_DEBUG_DCC=1 |
| 22 | DEFINES += WITH_DEBUG_UART=1 |
Channagoud Kadabi | c2ee561 | 2014-01-16 12:31:39 -0800 | [diff] [blame] | 23 | DEFINES += WITH_DEBUG_LOG_BUF=1 |
Deepa Dinamani | 7dc3d4b | 2013-02-08 16:40:38 -0800 | [diff] [blame] | 24 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 25 | DEFINES += DEVICE_TREE=1 |
| 26 | #DEFINES += MMC_BOOT_BAM=1 |
| 27 | #DEFINES += CRYPTO_BAM=1 |
David Ng | 11a8cb2 | 2013-09-27 12:50:37 -0700 | [diff] [blame] | 28 | DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
| 29 | |
| 30 | DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000 |
| 31 | DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000 |
| 32 | DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000 |
Deepa Dinamani | 50ac930 | 2013-06-26 15:22:47 -0700 | [diff] [blame] | 33 | |
| 34 | #Disable thumb mode |
| 35 | #TODO: The gold linker has issues generating correct |
| 36 | #thumb interworking code for LK. Confirm that the issue |
| 37 | #is with the linker and file a bug report. |
| 38 | ENABLE_THUMB := false |
Channagoud Kadabi | e92cdb0 | 2013-05-09 16:06:30 -0700 | [diff] [blame] | 39 | |
Matthew Qin | eb8d94a | 2014-03-06 13:38:59 +0800 | [diff] [blame] | 40 | ifeq ($(ENABLE_PON_VIB_SUPPORT),true) |
| 41 | DEFINES += PON_VIB_SUPPORT=1 |
| 42 | endif |
| 43 | |
Channagoud Kadabi | e92cdb0 | 2013-05-09 16:06:30 -0700 | [diff] [blame] | 44 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 45 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 46 | endif |