Deepa Dinamani | a63c518 | 2013-01-30 12:39:34 -0800 | [diff] [blame] | 1 | # top level project rules for the msm8226 project |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
Deepa Dinamani | a63c518 | 2013-01-30 12:39:34 -0800 | [diff] [blame] | 5 | TARGET := msm8226 |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
vijay kumar | 1c126cb | 2014-08-25 15:41:17 +0530 | [diff] [blame] | 9 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 10 | DEBUG := 0 |
| 11 | else |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 12 | DEBUG := 1 |
vijay kumar | 1c126cb | 2014-08-25 15:41:17 +0530 | [diff] [blame] | 13 | endif |
| 14 | |
Channagoud Kadabi | 16ff59d | 2013-08-26 11:43:38 -0700 | [diff] [blame] | 15 | EMMC_BOOT := 1 |
Channagoud Kadabi | 3ad1e9a | 2013-05-02 17:17:40 -0700 | [diff] [blame] | 16 | ENABLE_SDHCI_SUPPORT := 1 |
Sridhar Parasuram | 32d42ed | 2015-09-09 12:58:43 -0700 | [diff] [blame] | 17 | ENABLE_SECAPP_LOADER := 1 |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 18 | |
Matthew Qin | 37ae483 | 2014-02-22 07:13:51 +0800 | [diff] [blame] | 19 | #enable power on vibrator feature |
| 20 | ENABLE_PON_VIB_SUPPORT := true |
| 21 | |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 22 | #DEFINES += WITH_DEBUG_DCC=1 |
| 23 | DEFINES += WITH_DEBUG_UART=1 |
Pavel Nedev | dd46f5a | 2013-03-28 16:04:40 +0200 | [diff] [blame] | 24 | DEFINES += WITH_DEBUG_LOG_BUF=1 |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 25 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 26 | DEFINES += DEVICE_TREE=1 |
| 27 | #DEFINES += MMC_BOOT_BAM=1 |
Deepa Dinamani | 6bb87d5 | 2013-02-26 14:37:36 -0800 | [diff] [blame] | 28 | DEFINES += CRYPTO_BAM=1 |
David Ng | 072b3bd | 2013-08-20 16:07:36 -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 |
Channagoud Kadabi | 3ad1e9a | 2013-05-02 17:17:40 -0700 | [diff] [blame] | 34 | |
Deepa Dinamani | d0fbda0 | 2013-06-10 17:33:31 -0700 | [diff] [blame] | 35 | #Disable thumb mode |
| 36 | ENABLE_THUMB := false |
| 37 | |
Matthew Qin | 37ae483 | 2014-02-22 07:13:51 +0800 | [diff] [blame] | 38 | ifeq ($(ENABLE_PON_VIB_SUPPORT),true) |
| 39 | DEFINES += PON_VIB_SUPPORT=1 |
| 40 | endif |
| 41 | |
Channagoud Kadabi | 3ad1e9a | 2013-05-02 17:17:40 -0700 | [diff] [blame] | 42 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 43 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 44 | endif |