blob: d3d02625d58eef6ebb0b634f5750eef7aab6366a [file] [log] [blame]
Channagoud Kadabi92db1122014-06-25 16:00:13 -04001# top level project rules for the fsm9010 project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := fsm9010
6
7MODULES += app/aboot
8
Sridhar Parasuram6d805462014-11-19 16:24:23 -08009ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
Channagoud Kadabi92db1122014-06-25 16:00:13 -040012DEBUG := 1
Sridhar Parasuram6d805462014-11-19 16:24:23 -080013endif
14
Channagoud Kadabi92db1122014-06-25 16:00:13 -040015EMMC_BOOT := 1
Channagoud Kadabi196b27c2015-01-19 13:53:38 -050016ENABLE_SDHCI_SUPPORT := 1
17ENABLE_USB30_SUPPORT := 1
Channagoud Kadabi92db1122014-06-25 16:00:13 -040018
19DEFINES += WITH_DEBUG_DCC=1
20DEFINES += WITH_DEBUG_UART=1
21#DEFINES += WITH_DEBUG_FBCON=1
22DEFINES += DEVICE_TREE=1
23#DEFINES += MMC_BOOT_BAM=1
24DEFINES += CRYPTO_BAM=1
25DEFINES += CRYPTO_REG_ACCESS=1
Channagoud Kadabi86e1e822015-11-02 11:32:34 -080026DEFINES += NO_SCM_V8_SUPPORT=1
Channagoud Kadabi92db1122014-06-25 16:00:13 -040027
28#Disable thumb mode
29ENABLE_THUMB := false
30
31ifeq ($(EMMC_BOOT),1)
32DEFINES += _EMMC_BOOT=1
33endif
34
35ifeq ($(ENABLE_SDHCI_SUPPORT),1)
36DEFINES += MMC_SDHCI_SUPPORT=1
37endif
Channagoud Kadabi196b27c2015-01-19 13:53:38 -050038
39ifeq ($(ENABLE_USB30_SUPPORT),1)
40DEFINES += USB30_SUPPORT=1
41endif