1 #
2 # This file is the makefile for building images used for SBL testing.
3 #
4 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
6 APP_NAME = sbl_boot_xip_entry
7 BUILD_OS_TYPE = baremetal
8 LOCAL_APP_NAME = sbl_$(BUILD_OS_TYPE)_boot_xip_entry_$(BOARD)_$(CORE)TestApp
10 SBL_SRC_DIR = $(PDK_INSTALL_PATH)/ti/boot/sbl
12 SRCDIR += $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
14 INCDIR += $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
18 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
19 PACKAGE_SRCS_COMMON = .
21 # List all the external components/interfaces, whose interface header files
22 # need to be included for this component
23 INCLUDE_EXTERNAL_INTERFACES =
25 # List all the components required by the application
26 COMP_LIST_COMMON =
28 SRCS_COMMON += xip_stub.c
30 SRCS_ASM_COMMON = xip_entry.asm
31 EXTERNAL_LNKCMD_FILE_LOCAL = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/xip_entry.lds
33 # Core/SoC/platform specific source files and CFLAGS
34 # Example:
35 # SRCS_<core/SoC/platform-name> =
36 # CFLAGS_LOCAL_<core/SoC/platform-name> =
38 # Include common make files
39 ifeq ($(MAKERULEDIR), )
40 #Makerule path not defined, define this and assume relative path from ROOTDIR
41 MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
42 export MAKERULEDIR
43 endif
44 include $(MAKERULEDIR)/common.mk
46 # OBJs and libraries are built by using rule defined in rules_<target>.mk
47 # and need not be explicitly specified here
49 # Nothing beyond this point