Channagoud Kadabi | c05b768 | 2014-04-14 14:00:47 -0700 | [diff] [blame] | 1 | # top level project rules for the msm8994 project |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
Channagoud Kadabi | c05b768 | 2014-04-14 14:00:47 -0700 | [diff] [blame] | 5 | TARGET := msm8994 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
| 9 | DEBUG := 1 |
| 10 | EMMC_BOOT := 1 |
| 11 | ENABLE_SDHCI_SUPPORT := 1 |
| 12 | ENABLE_UFS_SUPPORT := 1 |
Sundarajan Srinivasan | d598b12 | 2014-03-21 17:33:29 -0700 | [diff] [blame] | 13 | ENABLE_BOOT_CONFIG_SUPPORT := 1 |
Channagoud Kadabi | 8c9e5b7 | 2014-04-22 15:01:42 -0700 | [diff] [blame] | 14 | ENABLE_USB30_SUPPORT := 1 |
Channagoud Kadabi | 9e57488 | 2014-06-24 16:15:23 -0700 | [diff] [blame] | 15 | USE_DYNAMIC_SMEM := 1 |
Sundarajan Srinivasan | 4bc19a3 | 2014-07-24 16:40:56 -0700 | [diff] [blame^] | 16 | ENABLE_SMD_SUPPORT := 1 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 17 | |
| 18 | #DEFINES += WITH_DEBUG_DCC=1 |
| 19 | DEFINES += WITH_DEBUG_UART=1 |
| 20 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 21 | DEFINES += DEVICE_TREE=1 |
| 22 | DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
| 23 | |
Channagoud Kadabi | 8e23f0a | 2014-06-05 14:22:27 -0700 | [diff] [blame] | 24 | DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 25 | DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000 |
| 26 | DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000 |
Abhimanyu Kapur | 0f79d57 | 2014-02-19 22:03:02 -0800 | [diff] [blame] | 27 | DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 28 | |
Channagoud Kadabi | c2475e4 | 2014-06-26 14:46:43 -0700 | [diff] [blame] | 29 | DEFINES += ENABLE_XPU_VIOLATION=1 |
| 30 | |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 31 | #Disable thumb mode |
| 32 | ENABLE_THUMB := false |
| 33 | |
| 34 | ifeq ($(EMMC_BOOT),1) |
| 35 | DEFINES += _EMMC_BOOT=1 |
| 36 | endif |
| 37 | |
| 38 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 39 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 40 | endif |
| 41 | |
| 42 | ifeq ($(ENABLE_UFS_SUPPORT),1) |
| 43 | DEFINES += UFS_SUPPORT=1 |
| 44 | endif |
Channagoud Kadabi | 8c9e5b7 | 2014-04-22 15:01:42 -0700 | [diff] [blame] | 45 | |
| 46 | ifeq ($(ENABLE_USB30_SUPPORT),1) |
| 47 | DEFINES += USB30_SUPPORT=1 |
| 48 | endif |
Channagoud Kadabi | 9e57488 | 2014-06-24 16:15:23 -0700 | [diff] [blame] | 49 | |
| 50 | ifeq ($(USE_DYNAMIC_SMEM),1) |
| 51 | DEFINES += DYNAMIC_SMEM=1 |
| 52 | endif |
Sundarajan Srinivasan | 4bc19a3 | 2014-07-24 16:40:56 -0700 | [diff] [blame^] | 53 | |
| 54 | ifeq ($(ENABLE_SMD_SUPPORT),1) |
| 55 | DEFINES += SMD_SUPPORT=1 |
| 56 | endif |