Aparna Mallavarapu | 01fc335 | 2015-01-19 21:06:16 +0530 | [diff] [blame] | 1 | # top level project rules for the MSM8952 project |
| 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
| 5 | TARGET := msm8952 |
| 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
| 9 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 10 | DEBUG := 0 |
| 11 | else |
| 12 | DEBUG := 1 |
| 13 | endif |
| 14 | |
| 15 | EMMC_BOOT := 1 |
| 16 | |
| 17 | #ENABLE_SMD_SUPPORT := 1 |
| 18 | #ENABLE_PWM_SUPPORT := true |
| 19 | |
| 20 | #DEFINES += WITH_DEBUG_DCC=1 |
| 21 | DEFINES += WITH_DEBUG_LOG_BUF=1 |
| 22 | DEFINES += WITH_DEBUG_UART=1 |
| 23 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 24 | DEFINES += DEVICE_TREE=1 |
| 25 | #DEFINES += MMC_BOOT_BAM=1 |
| 26 | #DEFINES += CRYPTO_BAM=1 |
| 27 | DEFINES += SPMI_CORE_V2=1 |
| 28 | DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
| 29 | |
Aparna Mallavarapu | 01fc335 | 2015-01-19 21:06:16 +0530 | [diff] [blame] | 30 | #DEFINES += BAM_V170=1 |
| 31 | |
| 32 | #Enable the feature of long press power on |
| 33 | #DEFINES += LONG_PRESS_POWER_ON=1 |
| 34 | |
| 35 | #Disable thumb mode |
| 36 | ENABLE_THUMB := false |
| 37 | |
| 38 | #ENABLE_SDHCI_SUPPORT := 1 |
| 39 | |
| 40 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 41 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 42 | endif |
| 43 | |
| 44 | #enable power on vibrator feature |
| 45 | #ENABLE_PON_VIB_SUPPORT := true |
| 46 | |
| 47 | ifeq ($(EMMC_BOOT),1) |
| 48 | DEFINES += _EMMC_BOOT=1 |
| 49 | endif |
| 50 | |
| 51 | ifeq ($(ENABLE_PON_VIB_SUPPORT),true) |
| 52 | DEFINES += PON_VIB_SUPPORT=1 |
| 53 | endif |
| 54 | |
| 55 | ifeq ($(ENABLE_SMD_SUPPORT),1) |
| 56 | DEFINES += SMD_SUPPORT=1 |
| 57 | endif |
| 58 | |
| 59 | #SCM call before entering DLOAD mode |
| 60 | DEFINES += PLATFORM_USE_SCM_DLOAD=1 |