Igor Opaniuk | a77808b | 2017-04-23 20:02:50 +0300 | [diff] [blame^] | 1 | ############################################################################### |
| 2 | # Following variables defines how the NS_USER (Non Secure User - Client |
| 3 | # Application), NS_KERNEL (Non Secure Kernel), S_KERNEL (Secure Kernel) and |
| 4 | # S_USER (Secure User - TA) are compiled |
| 5 | ############################################################################### |
| 6 | override COMPILE_NS_USER := 32 |
| 7 | override COMPILE_NS_KERNEL := 32 |
| 8 | override COMPILE_S_USER := 32 |
| 9 | override COMPILE_S_KERNEL := 32 |
| 10 | |
| 11 | ############################################################################### |
| 12 | # Includes |
| 13 | ############################################################################### |
| 14 | -include common.mk |
| 15 | |
| 16 | ############################################################################### |
| 17 | # Paths to git projects and various binaries |
| 18 | ############################################################################### |
| 19 | STAGING_AREA ?= $(ROOT)/out |
| 20 | U-BOOT_PATH ?= $(ROOT)/u-boot |
| 21 | UBOOT_SPL ?= $(U-BOOT_PATH)/u-boot-spl_HS_MLO |
| 22 | UBOOT_IMG ?= $(U-BOOT_PATH)/u-boot_HS.img |
| 23 | UBOOT_ENV ?= $(BUILD_PATH)/ti/uEnv.txt |
| 24 | LINUX_IMAGE ?= $(LINUX_PATH)/arch/arm/boot/zImage |
| 25 | LINUX_DTBS ?= $(wildcard $(LINUX_PATH)/arch/arm/boot/dts/am57*.dtb) |
| 26 | FIT_SOURCE ?= $(BUILD_PATH)/ti/fitImage-am57xx.its |
| 27 | FIT_MAKEFILE ?= $(BUILD_PATH)/ti/Makefile |
| 28 | OPTEE_PLATFORM ?= ti-am57xx |
| 29 | U-BOOT_CONFIG ?= am57xx_hs_evm_defconfig |
| 30 | # using the same configs as for DRA7xx |
| 31 | CONFIG_TYPE ?= ti_sdk_dra7x_debug |
| 32 | BUSYBOX_TARGET ?= dra7xx |
| 33 | |
| 34 | ############################################################################### |
| 35 | # Include common to TI builds |
| 36 | ############################################################################### |
| 37 | include ti/ti-common.mk |