]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/sciclient/examples/sciclient_fw_testapp/makefile
e7e8739fd16918c835a97162f20142bca2151f1a
[processor-sdk/pdk.git] / packages / ti / drv / sciclient / examples / sciclient_fw_testapp / makefile
1 #\r
2 # This file is the makefile for building Sciclient Unit Test application.\r
3 #\r
4 ifeq ($(RULES_MAKE), )\r
5 include $(PDK_INSTALL_PATH)/ti/build/Rules.make\r
6 else\r
7 include $(RULES_MAKE)\r
8 endif\r
9 \r
10 APP_NAME = sciclient_fw_testapp\r
11 BUILD_OS_TYPE=tirtos\r
12 \r
13 SRCDIR = . ../common\r
14 INCDIR = . ../common\r
15 \r
16 # List all the external components/interfaces, whose interface header files\r
17 # need to be included for this component\r
18 INCLUDE_EXTERNAL_INTERFACES = pdk sciclient osal_tirtos board uart bios xdc\r
19 \r
20 # List all the components required by the application\r
21 COMP_LIST_COMMON  = sciclient csl osal_tirtos board uart bios xdc i2c\r
22 ifeq ($(ARCH),c66x)\r
23   COMP_LIST_COMMON += csl_intc\r
24 else\r
25   ifneq ($(ARCH),c71)\r
26     COMP_LIST_COMMON += csl_init\r
27   endif\r
28 endif\r
29 \r
30 # Common source files and CFLAGS across all platforms and cores\r
31 SRCS_COMMON = sciclient_fw_main.c \\r
32               sciclient_appCommon.c\r
33 \r
34 SRCS_ASM_COMMON = sciclient_fw_exception.asm\r
35                           \r
36 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)\r
37 PACKAGE_SRCS_COMMON = . ../common\r
38 \r
39 # Enable XDC build for application by providing XDC CFG File per core\r
40 XDC_CFG_FILE_$(CORE) = $(PDK_INSTALL_PATH)/ti/drv/sciclient/examples/sciclient_fw_testapp/sysbios_$(ISA).cfg\r
41 \r
42 # Enable copy of vectors\r
43 ifeq ($(ISA),$(filter $(ISA), r5f))\r
44   COMP_LIST_COMMON += copyvecs\r
45 endif\r
46 \r
47 # ifeq ($(CORE),mpu1_0)\r
48 #     LNKFLAGS_LOCAL_mpu1_0 += --entry Entry\r
49 # endif\r
50 # ifeq ($(CORE), mcu1_0)\r
51 #     LNKFLAGS_LOCAL_mcu1_0 += --entry_point=_sciclientTestResetVectors\r
52 # endif\r
53 \r
54 # Core/SoC/platform specific source files and CFLAGS\r
55 # Example:\r
56 #   SRCS_<coqre/SoC/platform-name> =\r
57 #   CFLAGS_LOCAL_<core/SoC/platform-name> =\r
58 \r
59 # Include common make files\r
60 ifeq ($(MAKERULEDIR), )\r
61 #Makerule path not defined, define this and assume relative path from ROOTDIR\r
62   MAKERULEDIR := $(ROOTDIR)/ti/build/makerules\r
63   export MAKERULEDIR\r
64 endif\r
65 include $(MAKERULEDIR)/common.mk\r
66 \r
67 # OBJs and libraries are built by using rule defined in rules_<target>.mk\r
68 #     and need not be explicitly specified here\r
69 \r
70 # Nothing beyond this point\r