]> 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
ba47b4954cfe4da0aa30293955f366ec8351588b
[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   SRCDIR += $(PDK_VECT_COPY_PATH)
32   SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
33 endif
34 endif
36 # Common source files and CFLAGS across all platforms and cores
37 PACKAGE_SRCS_COMMON = .
38 SRCS_mcu1_0 += main_mss.c
39 SRCS_c66xdsp_1 += main_dss.c
41 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
43 # Core/SoC/platform specific source files and CFLAGS
44 # Example:
45 #   SRCS_<core/SoC/platform-name> =
46 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
48 # Include common make files
49 ifeq ($(MAKERULEDIR), )
50 #Makerule path not defined, define this and assume relative path from ROOTDIR
51   MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
52   export MAKERULEDIR
53 endif
54 include $(MAKERULEDIR)/common.mk
56 # OBJs and libraries are built by using rule defined in rules_<target>.mk
57 #     and need not be explicitly specified here
59 # Nothing beyond this point