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 |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 17 | |
Matthew Qin | 37ae483 | 2014-02-22 07:13:51 +0800 | [diff] [blame] | 18 | #enable power on vibrator feature |
| 19 | ENABLE_PON_VIB_SUPPORT := true |
| 20 | |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 21 | #DEFINES += WITH_DEBUG_DCC=1 |
| 22 | DEFINES += WITH_DEBUG_UART=1 |
Pavel Nedev | dd46f5a | 2013-03-28 16:04:40 +0200 | [diff] [blame] | 23 | DEFINES += WITH_DEBUG_LOG_BUF=1 |
Deepa Dinamani | 645e9b1 | 2012-12-21 14:23:40 -0800 | [diff] [blame] | 24 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 25 | DEFINES += DEVICE_TREE=1 |
| 26 | #DEFINES += MMC_BOOT_BAM=1 |
Deepa Dinamani | 6bb87d5 | 2013-02-26 14:37:36 -0800 | [diff] [blame] | 27 | DEFINES += CRYPTO_BAM=1 |
David Ng | 072b3bd | 2013-08-20 16:07:36 -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 |
Channagoud Kadabi | 3ad1e9a | 2013-05-02 17:17:40 -0700 | [diff] [blame] | 33 | |
Deepa Dinamani | d0fbda0 | 2013-06-10 17:33:31 -0700 | [diff] [blame] | 34 | #Disable thumb mode |
| 35 | ENABLE_THUMB := false |
| 36 | |
Matthew Qin | 37ae483 | 2014-02-22 07:13:51 +0800 | [diff] [blame] | 37 | ifeq ($(ENABLE_PON_VIB_SUPPORT),true) |
| 38 | DEFINES += PON_VIB_SUPPORT=1 |
| 39 | endif |
| 40 | |
Channagoud Kadabi | 3ad1e9a | 2013-05-02 17:17:40 -0700 | [diff] [blame] | 41 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 42 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 43 | endif |