blob: 0be94fd5e9532093b59a3ede8917df745c7f10a4 [file] [log] [blame]
Joonwoo Park0c484d02014-04-22 17:53:32 -07001# top level project rules for the msmzirc project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := msmzirc
6
7DEBUG := 1
8ENABLE_USB30_SUPPORT := 1
9ENABLE_SDHCI_SUPPORT := 1
10ENABLE_BOOT_CONFIG_SUPPORT := 1
11
12MODULES += app/aboot
13
14#DEFINES += WITH_DEBUG_DCC=1
15DEFINES += WITH_DEBUG_UART=1
16#DEFINES += WITH_DEBUG_FBCON=1
17DEFINES += DEVICE_TREE=1
18DEFINES += SPMI_CORE_V2=1
19
20ifeq ($(ENABLE_USB30_SUPPORT),1)
21DEFINES += USB30_SUPPORT=1
22endif
23
24ifeq ($(ENABLE_SDHCI_SUPPORT),1)
25DEFINES += MMC_SDHCI_SUPPORT=1
26endif
27
28#disable Thumb mode for the codesourcery/arm-2011.03 toolchain
29ENABLE_THUMB := false
30
31#Override linker for mdm targets
32LD := $(TOOLCHAIN_PREFIX)ld.bfd