blob: 5bb9a4b3412f0b94f8f7d96fa2c0bfea017349d5 [file] [log] [blame]
Deepa Dinamanib9a57202012-12-20 18:05:11 -08001# top level project rules for the msm8974 project
Deepa Dinamani7d6c8972011-12-14 15:16:56 -08002#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
Channagoud Kadabi49c66962013-01-28 13:39:27 -08005TARGET := msm8974
Deepa Dinamani7d6c8972011-12-14 15:16:56 -08006
7MODULES += app/aboot
8
9DEBUG := 1
Dima Zavinac72d272013-03-06 15:13:55 -080010EMMC_BOOT := 1
Channagoud Kadabi3e4eca62013-04-22 14:06:42 -070011ENABLE_SDHCI_SUPPORT := 0
Deepa Dinamani7d6c8972011-12-14 15:16:56 -080012
13#DEFINES += WITH_DEBUG_DCC=1
Neeti Desaiac011272012-08-29 18:24:54 -070014DEFINES += WITH_DEBUG_UART=1
Deepa Dinamani7d6c8972011-12-14 15:16:56 -080015#DEFINES += WITH_DEBUG_FBCON=1
Neeti Desai465491e2012-07-31 12:53:35 -070016DEFINES += DEVICE_TREE=1
Deepa Dinamanib073ba22012-08-10 11:06:41 -070017#DEFINES += MMC_BOOT_BAM=1
Deepa Dinamanib9a57202012-12-20 18:05:11 -080018DEFINES += CRYPTO_BAM=1
Channagoud Kadabic82c09f2013-04-26 17:29:43 -070019DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
Amol Jadi4b285ae2013-03-08 09:16:40 -080020
21#Disable thumb mode
22ENABLE_THUMB := false
Dima Zavinac72d272013-03-06 15:13:55 -080023
Dima Zavinbc39b782013-03-06 15:15:12 -080024DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
25DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
26DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
27
Dima Zavinac72d272013-03-06 15:13:55 -080028ifeq ($(EMMC_BOOT),1)
29DEFINES += _EMMC_BOOT=1
30endif
Channagoud Kadabi3e4eca62013-04-22 14:06:42 -070031
32ifeq ($(ENABLE_SDHCI_SUPPORT),1)
33DEFINES += MMC_SDHCI_SUPPORT=1
34endif