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