blob: 5109297549edd3ed6676e1d7df328546d2364156 [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
Deepa Dinamani645e9b12012-12-21 14:23:40 -080017
Matthew Qin37ae4832014-02-22 07:13:51 +080018#enable power on vibrator feature
19ENABLE_PON_VIB_SUPPORT := true
20
Deepa Dinamani645e9b12012-12-21 14:23:40 -080021#DEFINES += WITH_DEBUG_DCC=1
22DEFINES += WITH_DEBUG_UART=1
Pavel Nedevdd46f5a2013-03-28 16:04:40 +020023DEFINES += WITH_DEBUG_LOG_BUF=1
Deepa Dinamani645e9b12012-12-21 14:23:40 -080024#DEFINES += WITH_DEBUG_FBCON=1
25DEFINES += DEVICE_TREE=1
26#DEFINES += MMC_BOOT_BAM=1
Deepa Dinamani6bb87d52013-02-26 14:37:36 -080027DEFINES += CRYPTO_BAM=1
David Ng072b3bd2013-08-20 16:07:36 -070028DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
29
30DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
31DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
32DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
Channagoud Kadabi3ad1e9a2013-05-02 17:17:40 -070033
Deepa Dinamanid0fbda02013-06-10 17:33:31 -070034#Disable thumb mode
35ENABLE_THUMB := false
36
Matthew Qin37ae4832014-02-22 07:13:51 +080037ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
38DEFINES += PON_VIB_SUPPORT=1
39endif
40
Channagoud Kadabi3ad1e9a2013-05-02 17:17:40 -070041ifeq ($(ENABLE_SDHCI_SUPPORT),1)
42DEFINES += MMC_SDHCI_SUPPORT=1
43endif