blob: 6971637b0c7da3b1b36e70b885f2fb303b7a4323 [file] [log] [blame]
Igor Opaniuka77808b2017-04-23 20:02:50 +03001###############################################################################
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###############################################################################
6override COMPILE_NS_USER := 32
7override COMPILE_NS_KERNEL := 32
8override COMPILE_S_USER := 32
9override COMPILE_S_KERNEL := 32
10
Jens Wiklander88d027c2018-05-09 10:12:03 +020011# Need to set this before including common.mk
Joakim Bechab26d002019-10-08 13:38:32 +020012BR2_TARGET_GENERIC_GETTY_PORT ?= ttyS2
Jens Wiklander88d027c2018-05-09 10:12:03 +020013
Igor Opaniuka77808b2017-04-23 20:02:50 +030014###############################################################################
15# Includes
16###############################################################################
Victor Chong7a716512017-09-11 15:18:44 +010017include common.mk
Igor Opaniuka77808b2017-04-23 20:02:50 +030018
19###############################################################################
20# Paths to git projects and various binaries
21###############################################################################
22STAGING_AREA ?= $(ROOT)/out
23U-BOOT_PATH ?= $(ROOT)/u-boot
24UBOOT_SPL ?= $(U-BOOT_PATH)/u-boot-spl_HS_MLO
25UBOOT_IMG ?= $(U-BOOT_PATH)/u-boot_HS.img
26UBOOT_ENV ?= $(BUILD_PATH)/ti/uEnv.txt
27LINUX_IMAGE ?= $(LINUX_PATH)/arch/arm/boot/zImage
28LINUX_DTBS ?= $(wildcard $(LINUX_PATH)/arch/arm/boot/dts/am57*.dtb)
29FIT_SOURCE ?= $(BUILD_PATH)/ti/fitImage-am57xx.its
30FIT_MAKEFILE ?= $(BUILD_PATH)/ti/Makefile
Etienne Carriere3768a2b2019-05-14 17:13:19 +020031OPTEE_OS_PLATFORM ?= ti-am57xx
Igor Opaniuka77808b2017-04-23 20:02:50 +030032U-BOOT_CONFIG ?= am57xx_hs_evm_defconfig
33# using the same configs as for DRA7xx
34CONFIG_TYPE ?= ti_sdk_dra7x_debug
Igor Opaniuka77808b2017-04-23 20:02:50 +030035
36###############################################################################
37# Include common to TI builds
38###############################################################################
39include ti/ti-common.mk