blob: 6d15113e9642846df237e80b17685d7445df69ea [file] [log] [blame]
Deepa Dinamania63c5182013-01-30 12:39:34 -08001# top level project rules for the msm8226 project
Deepa Dinamani645e9b12012-12-21 14:23:40 -08002#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
Deepa Dinamania63c5182013-01-30 12:39:34 -08005TARGET := msm8226
Deepa Dinamani645e9b12012-12-21 14:23:40 -08006
7MODULES += app/aboot
8
vijay kumar1c126cb2014-08-25 15:41:17 +05309ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
Deepa Dinamani645e9b12012-12-21 14:23:40 -080012DEBUG := 1
vijay kumar1c126cb2014-08-25 15:41:17 +053013endif
14
Channagoud Kadabi16ff59d2013-08-26 11:43:38 -070015EMMC_BOOT := 1
Channagoud Kadabi3ad1e9a2013-05-02 17:17:40 -070016ENABLE_SDHCI_SUPPORT := 1
Sridhar Parasuram32d42ed2015-09-09 12:58:43 -070017ENABLE_SECAPP_LOADER := 1
Deepa Dinamani645e9b12012-12-21 14:23:40 -080018
Matthew Qin37ae4832014-02-22 07:13:51 +080019#enable power on vibrator feature
20ENABLE_PON_VIB_SUPPORT := true
21
Deepa Dinamani645e9b12012-12-21 14:23:40 -080022#DEFINES += WITH_DEBUG_DCC=1
23DEFINES += WITH_DEBUG_UART=1
Pavel Nedevdd46f5a2013-03-28 16:04:40 +020024DEFINES += WITH_DEBUG_LOG_BUF=1
Deepa Dinamani645e9b12012-12-21 14:23:40 -080025#DEFINES += WITH_DEBUG_FBCON=1
26DEFINES += DEVICE_TREE=1
27#DEFINES += MMC_BOOT_BAM=1
Deepa Dinamani6bb87d52013-02-26 14:37:36 -080028DEFINES += CRYPTO_BAM=1
David Ng072b3bd2013-08-20 16:07:36 -070029DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
30
31DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
32DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
33DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
Channagoud Kadabi3ad1e9a2013-05-02 17:17:40 -070034
Deepa Dinamanid0fbda02013-06-10 17:33:31 -070035#Disable thumb mode
36ENABLE_THUMB := false
37
Matthew Qin37ae4832014-02-22 07:13:51 +080038ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
39DEFINES += PON_VIB_SUPPORT=1
40endif
41
Channagoud Kadabi3ad1e9a2013-05-02 17:17:40 -070042ifeq ($(ENABLE_SDHCI_SUPPORT),1)
43DEFINES += MMC_SDHCI_SUPPORT=1
44endif