1 #
2 # This file is the makefile for building DSS display test app for both TI RTOS
3 # and baremetal
4 #
6 SRCDIR = .
7 INCDIR = .
9 # List all the external components/interfaces, whose interface header files
10 # need to be included for this component
11 INCLUDE_EXTERNAL_INTERFACES = pdk
13 INCLUDE_EXTERNAL_INTERFACES += xdc bios
14 COMP_LIST_COMMON = $(PDK_COMMON_TIRTOS_COMP)
15 COMP_LIST_COMMON += dss_app_utils_sysbios
16 SRCS_COMMON = main_tirtos.c
17 # Enable XDC build for application by providing XDC CFG File per core
18 XDC_CFG_FILE_$(CORE) = $(PDK_INSTALL_PATH)/ti/build/$(SOC)/sysbios_$(ISA).cfg
19 XDC_CFG_UPDATE_$(CORE) = dss_display_test_prf.cfg
21 # List all the specific components required by the application
22 COMP_LIST_COMMON += fvid2 dss
24 # Common source files and CFLAGS across all platforms and cores
25 PACKAGE_SRCS_COMMON = .
26 SRCS_COMMON += dss_m2m_test.c
27 CFLAGS_LOCAL_COMMON += $(PDK_CFLAGS) $(DSS_CFLAGS)
29 # Core/SoC/platform specific source files and CFLAGS
30 # Example:
31 # SRCS_<core/SoC/platform-name> =
32 # CFLAGS_LOCAL_<core/SoC/platform-name> =
34 # Include common make files
35 ifeq ($(MAKERULEDIR), )
36 #Makerule path not defined, define this and assume relative path from ROOTDIR
37 MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
38 export MAKERULEDIR
39 endif
40 include $(MAKERULEDIR)/common.mk
42 # OBJs and libraries are built by using rule defined in rules_<target>.mk
43 # and need not be explicitly specified here
45 # Nothing beyond this point