summaryrefslogtreecommitdiff
path: root/dra7xx.mk
blob: f40f579bb0ceea54260ec74c7edc411dcb613ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
###############################################################################
# Following variables defines how the NS_USER (Non Secure User - Client
# Application), NS_KERNEL (Non Secure Kernel), S_KERNEL (Secure Kernel) and
# S_USER (Secure User - TA) are compiled
###############################################################################
override COMPILE_NS_USER   := 32
override COMPILE_NS_KERNEL := 32
override COMPILE_S_USER    := 32
override COMPILE_S_KERNEL  := 32

# Need to set this before including common.mk
BR2_TARGET_GENERIC_GETTY_PORT ?= ttyS0

###############################################################################
# Includes
###############################################################################
include common.mk

###############################################################################
# Paths to git projects and various binaries
###############################################################################
STAGING_AREA    ?= $(ROOT)/out
U-BOOT_PATH     ?= $(ROOT)/u-boot
UBOOT_SPL       ?= $(U-BOOT_PATH)/u-boot-spl_HS_MLO
UBOOT_IMG       ?= $(U-BOOT_PATH)/u-boot_HS.img
UBOOT_ENV       ?= $(BUILD_PATH)/ti/uEnv.txt
LINUX_IMAGE     ?= $(LINUX_PATH)/arch/arm/boot/zImage
LINUX_DTBS      ?= $(wildcard $(LINUX_PATH)/arch/arm/boot/dts/dra7*.dtb)
FIT_SOURCE      ?= $(BUILD_PATH)/ti/fitImage-dra7xx.its
FIT_MAKEFILE    ?= $(BUILD_PATH)/ti/Makefile
OPTEE_OS_PLATFORM ?= ti-dra7xx
U-BOOT_CONFIG   ?= dra7xx_hs_evm_defconfig
CONFIG_TYPE     ?= ti_sdk_dra7x_debug

###############################################################################
# Include common to TI builds
###############################################################################
include ti/ti-common.mk