blob: fd7d06523144ad8d262e0df7ede940de057df271 [file] [log] [blame]
Aparna Mallavarapu01fc3352015-01-19 21:06:16 +05301# top level project rules for the MSM8952 project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := msm8952
6
7MODULES += app/aboot
8
9ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
12DEBUG := 1
13endif
14
15EMMC_BOOT := 1
16
17#ENABLE_SMD_SUPPORT := 1
18#ENABLE_PWM_SUPPORT := true
19
20#DEFINES += WITH_DEBUG_DCC=1
21DEFINES += WITH_DEBUG_LOG_BUF=1
22DEFINES += WITH_DEBUG_UART=1
23#DEFINES += WITH_DEBUG_FBCON=1
24DEFINES += DEVICE_TREE=1
25#DEFINES += MMC_BOOT_BAM=1
26#DEFINES += CRYPTO_BAM=1
27DEFINES += SPMI_CORE_V2=1
28DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
29
Aparna Mallavarapu01fc3352015-01-19 21:06:16 +053030#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
36ENABLE_THUMB := false
37
Aparna Mallavarapu19cf0a72015-03-26 05:57:55 +053038ENABLE_SDHCI_SUPPORT := 1
Aparna Mallavarapu01fc3352015-01-19 21:06:16 +053039
40ifeq ($(ENABLE_SDHCI_SUPPORT),1)
41DEFINES += MMC_SDHCI_SUPPORT=1
42endif
43
44#enable power on vibrator feature
45#ENABLE_PON_VIB_SUPPORT := true
46
47ifeq ($(EMMC_BOOT),1)
48DEFINES += _EMMC_BOOT=1
49endif
50
51ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
52DEFINES += PON_VIB_SUPPORT=1
53endif
54
55ifeq ($(ENABLE_SMD_SUPPORT),1)
56DEFINES += SMD_SUPPORT=1
57endif
58
59#SCM call before entering DLOAD mode
60DEFINES += PLATFORM_USE_SCM_DLOAD=1