]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/mailbox/examples/mailbox_msg_testapp/makefile
SITSW-225: Make copyvecs as a library that the application can link to
[processor-sdk/pdk.git] / packages / ti / drv / mailbox / examples / mailbox_msg_testapp / makefile
1 #
2 # This file is the makefile for building Mailbox test app for TI RTOS
3 #
4 ifeq ($(RULES_MAKE), )
5 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
6 else
7 include $(RULES_MAKE)
8 endif
10 APP_NAME = mailbox_msg_testapp
12 #
13 # This file is common makefile for building Mailbox test app for both TI-RTOS/baremetal
14 #
15 SRCDIR = .
16 INCDIR =
18 # List all the external components/interfaces, whose interface header files
19 #  need to be included for this component
20 INCLUDE_EXTERNAL_INTERFACES = pdk
22 # List all the components required by the application
23 COMP_LIST_COMMON = csl mailbox board
24 INCLUDE_EXTERNAL_INTERFACES += xdc bios pdk
25 COMP_LIST_COMMON += osal_tirtos
26 XDC_CFG_FILE_$(CORE) = $(PDK_INSTALL_PATH)/ti/build/$(SOC)/sysbios_$(ISA).cfg
28 ifneq ($(SOC),$(filter $(SOC), tpr12))
29 # Enable copy of vectors
30 ifeq ($(ISA),$(filter $(ISA), r5f))
31   COMP_LIST_COMMON += copyvecs
32 endif
33 endif
35 # Common source files and CFLAGS across all platforms and cores
36 PACKAGE_SRCS_COMMON = .
37 SRCS_mcu1_0 += main_mss.c
38 SRCS_c66xdsp_1 += main_dss.c
40 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
42 # Core/SoC/platform specific source files and CFLAGS
43 # Example:
44 #   SRCS_<core/SoC/platform-name> =
45 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
47 # Include common make files
48 ifeq ($(MAKERULEDIR), )
49 #Makerule path not defined, define this and assume relative path from ROOTDIR
50   MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
51   export MAKERULEDIR
52 endif
53 include $(MAKERULEDIR)/common.mk
55 # OBJs and libraries are built by using rule defined in rules_<target>.mk
56 #     and need not be explicitly specified here
58 # Nothing beyond this point