[processor-sdk/pdk.git] / packages / ti / drv / sciclient / examples / sciclient_ccs_init / makefile
1 #
2 # This file is the makefile for building Sciclient ccs init test application.
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 = sciclient_ccs_init
12 SRCDIR = .
13 INCDIR = .
15 # List all the external components/interfaces, whose interface header files
16 # need to be included for this component
17 INCLUDE_EXTERNAL_INTERFACES = pdk sciclient osal_nonos
19 # List all the components required by the application
20 COMP_LIST_COMMON = $(PDK_COMMON_BAREMETAL_COMP)
22 # Common source files and CFLAGS across all platforms and cores
23 SRCS_COMMON = sciclient_ccs_init_main.c
25 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
26 PACKAGE_SRCS_COMMON = . ../common
28 ifeq ($(SOC),$(filter $(SOC), am64x))
29 CONFIG_BLD_LNK_r5f = linker_r5_lite.lds
30 else
31 CONFIG_BLD_LNK_r5f = linker_r5.lds
32 endif
34 # Core/SoC/platform specific source files and CFLAGS
35 # Example:
36 # SRCS_<coqre/SoC/platform-name> =
37 # CFLAGS_LOCAL_<core/SoC/platform-name> =
39 # Include common make files
40 ifeq ($(MAKERULEDIR), )
41 #Makerule path not defined, define this and assume relative path from ROOTDIR
42 MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
43 export MAKERULEDIR
44 endif
45 include $(MAKERULEDIR)/common.mk
47 # OBJs and libraries are built by using rule defined in rules_<target>.mk
48 # and need not be explicitly specified here
50 # Nothing beyond this point