]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/sciclient/examples/sciclient_ccs_init/makefile
rm_pm_hal: Being able to build RM and PM HAL from PDK
[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 osal_nonos board
18 ifeq ($(SOC),$(filter $(SOC), j721e j7200))
19 INCLUDE_EXTERNAL_INTERFACES += sciclient_direct
20 else
21 INCLUDE_EXTERNAL_INTERFACES += sciclient
22 endif
24 # List all the components required by the application
25 COMP_LIST_COMMON = $(PDK_COMMON_BAREMETAL_COMP)
27 # Common source files and CFLAGS across all platforms and cores
28 SRCS_COMMON = sciclient_ccs_init_main.c
30 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
31 PACKAGE_SRCS_COMMON = . ../common
33 ifeq ($(SOC),$(filter $(SOC), am64x))
34 CONFIG_BLD_LNK_r5f = linker_r5_lite.lds
35 else
36 CONFIG_BLD_LNK_r5f = linker_r5.lds
37 endif
39 # Core/SoC/platform specific source files and CFLAGS
40 # Example:
41 #   SRCS_<coqre/SoC/platform-name> =
42 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
44 # Include common make files
45 ifeq ($(MAKERULEDIR), )
46 #Makerule path not defined, define this and assume relative path from ROOTDIR
47   MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
48   export MAKERULEDIR
49 endif
50 include $(MAKERULEDIR)/common.mk
52 # OBJs and libraries are built by using rule defined in rules_<target>.mk
53 #     and need not be explicitly specified here
55 # Nothing beyond this point