blob: 1331e93924496f1bdd9e51b746ecc0cff5baf92b [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 kumar33acdfd2014-08-28 16:36:06 +05309ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080012DEBUG := 1
vijay kumar33acdfd2014-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 Qin52ace622014-03-06 13:38:59 +080018#enable power on vibrator feature
19ENABLE_PON_VIB_SUPPORT := true
Aparna Mallavarapu09feb992014-03-28 17:49:48 +053020ENABLE_PWM_SUPPORT := true
Matthew Qin52ace622014-03-06 13:38:59 +080021
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080022#DEFINES += WITH_DEBUG_DCC=1
23DEFINES += WITH_DEBUG_UART=1
Channagoud Kadabib8d03d82014-01-16 12:31:39 -080024DEFINES += WITH_DEBUG_LOG_BUF=1
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080025#DEFINES += WITH_DEBUG_FBCON=1
26DEFINES += DEVICE_TREE=1
27#DEFINES += MMC_BOOT_BAM=1
28#DEFINES += CRYPTO_BAM=1
David Ngcb991b22013-09-27 12:50:37 -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
Abhimanyu Kapur0f79d572014-02-19 22:03:02 -080034DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000
Deepa Dinamani50ac9302013-06-26 15:22:47 -070035
36#Disable thumb mode
37#TODO: The gold linker has issues generating correct
38#thumb interworking code for LK. Confirm that the issue
39#is with the linker and file a bug report.
40ENABLE_THUMB := false
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070041
Matthew Qin52ace622014-03-06 13:38:59 +080042ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
43DEFINES += PON_VIB_SUPPORT=1
44endif
45
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070046ifeq ($(ENABLE_SDHCI_SUPPORT),1)
47DEFINES += MMC_SDHCI_SUPPORT=1
48endif