[processor-sdk/pdk.git] / packages / ti / drv / emac / test / EmacLoopbackTest / j721e / icssg / makefile_dualmac
1 # Makefile for EMAC sample app
2 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
4 #Name of the directory created under packages/ti/binary/
5 APP_NAME = Emac_Icssg_TestApp
7 # Name of the binary if different from the default (APP_NAME)_$(BOARD_$(CORE)_<build_profile>
8 LOCAL_APP_NAME = EMAC_Icssg_$(BOARD)_$(CORE)TestApp
10 SRCDIR += $(PDK_EMAC_COMP_PATH)/firmware/icss_dualmac/config
11 INCDIR += $(PDK_EMAC_COMP_PATH)/firmware/icss_dualmac/config
12 SRCDIR += $(PDK_INSTALL_PATH)/ti/build/unit-test/Unity/src $(PDK_INSTALL_PATH)/ti/build/unit-test/config
13 INCDIR += $(PDK_INSTALL_PATH)/ti/build/unit-test/Unity/src $(PDK_INSTALL_PATH)/ti/build/unit-test/config
15 SRCS_COMMON += main_j721e.c test_utils_k3.c emac_fw_config_dual_mac.c unity_config.c unity.c
17 # List all the external components/interfaces, whose interface header files
18 # need to be included for this component
19 INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk
21 # List all the components required by the application
22 COMP_LIST_COMMON = $(PDK_COMMON_TIRTOS_COMP) emac uart_console pruss
24 XDC_CFG_FILE_$(CORE) = $(PDK_INSTALL_PATH)/ti/build/$(SOC)/sysbios_$(ISA).cfg
26 PACKAGE_SRCS_COMMON = .
27 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) -DEMAC_TEST_APP_ICSSG -DUNITY_INCLUDE_CONFIG_H
29 # Include common make files
30 ifeq ($(MAKERULEDIR), )
31 #Makerule path not defined, define this and assume relative path from ROOTDIR
32 MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
33 export MAKERULEDIR
34 endif
35 include $(MAKERULEDIR)/common.mk
37 # OBJs and libraries are built by using rule defined in rules_<target>.mk
38 # and need not be explicitly specified here
40 # Nothing beyond this point