blob: b0d57f4235e0a5fd3d3107e855979a7de01eff2d [file] [log] [blame]
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -08001# top level project rules for the msm8610 project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := msm8610
6
7MODULES += app/aboot
8
vijay kumar00ee11a2014-08-28 16:36:06 +05309ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080012DEBUG := 1
vijay kumar00ee11a2014-08-28 16:36:06 +053013endif
14
Channagoud Kadabi71bfc452013-08-26 11:47:45 -070015EMMC_BOOT := 1
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070016ENABLE_SDHCI_SUPPORT := 1
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080017
Matthew Qineb8d94a2014-03-06 13:38:59 +080018#enable power on vibrator feature
19ENABLE_PON_VIB_SUPPORT := true
20
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080021#DEFINES += WITH_DEBUG_DCC=1
22DEFINES += WITH_DEBUG_UART=1
Channagoud Kadabic2ee5612014-01-16 12:31:39 -080023DEFINES += WITH_DEBUG_LOG_BUF=1
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080024#DEFINES += WITH_DEBUG_FBCON=1
25DEFINES += DEVICE_TREE=1
26#DEFINES += MMC_BOOT_BAM=1
27#DEFINES += CRYPTO_BAM=1
David Ng11a8cb22013-09-27 12:50:37 -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
Deepa Dinamani50ac9302013-06-26 15:22:47 -070033
34#Disable thumb mode
35#TODO: The gold linker has issues generating correct
36#thumb interworking code for LK. Confirm that the issue
37#is with the linker and file a bug report.
38ENABLE_THUMB := false
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070039
Matthew Qineb8d94a2014-03-06 13:38:59 +080040ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
41DEFINES += PON_VIB_SUPPORT=1
42endif
43
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070044ifeq ($(ENABLE_SDHCI_SUPPORT),1)
45DEFINES += MMC_SDHCI_SUPPORT=1
46endif