1 # File: diag_ex_component.mk
2 # This file is component include make file of Software Diagnostic Example
3 # Applications.
4 # List of variables set in this file and their purpose:
5 # <mod>_RELPATH - This is the relative path of the module, typically from
6 # top-level directory of the package
7 # <mod>_PATH - This is the absolute path of the module. It derives from
8 # absolute path of the top-level directory (set in env.mk)
9 # and relative path set above
10 # <mod>_INCLUDE - This is the path that has interface header files of the
11 # module. This can be multiple directories (space separated)
12 # <mod>_PKG_LIST - Names of the modules (and sub-modules) that are a part
13 # part of this module, including itself.
14 # <mod>_BOARD_DEPENDENCY - "yes": means the code for this module depends on
15 # platform and the compiled obj/lib has to be kept
16 # under <platform> directory
17 # "no" or "" or if this variable is not defined: means
18 # this module has no platform dependent code and hence
19 # the obj/libs are not kept under <platform> dir.
20 # <mod>_CORE_DEPENDENCY - "yes": means the code for this module depends on
21 # core and the compiled obj/lib has to be kept
22 # under <core> directory
23 # "no" or "" or if this variable is not defined: means
24 # this module has no core dependent code and hence
25 # the obj/libs are not kept under <core> dir.
26 # <mod>_APP_STAGE_FILES - List of source files that belongs to the module
27 # <mod>, but that needs to be compiled at application
28 # build stage (in the context of the app). This is
29 # primarily for link time configurations or if the
30 # source file is dependent on options/defines that are
31 # application dependent. This can be left blank or
32 # not defined at all, in which case, it means there
33 # no source files in the module <mod> that are required
34 # to be compiled in the application build stage.
35 #
36 ifeq ($(diag_ex_component_make_include), )
38 ############################
39 # Software Diagnostics Example Applications
40 # List of components included under Diagnostic Example applications
41 # The components included here are built and will be part of Diagnostic Example apps
42 ############################
43 diag_ex_LIB_LIST =
45 diag_ex_SOCLIST = j721e
46 diag_ex_BOARDLIST = j721e_evm
47 diag_ex_j721e_CORELIST = mcu1_0
48 diag_ex_j721e_APPCORELIST = mcu1_0
49 diag_ex_DISABLE_PARALLEL_MAKE = yes
51 ############################
52 # Software diagnostic examples package
53 # List of software diagnostics included under diagnostic examples
54 # The components included here are built and will be part of software diagnostic examples
55 ############################
56 diag_ex_LIB_LIST =
58 ############################
59 # Software Diagnostic examples
60 # List of examples under diag_ex (+= is used at each example definition)
61 # All the tests mentioned in list are built when test target is called
62 # List below all examples for allowed values
63 ############################
64 diag_ex_EXAMPLE_LIST =
66 # Diagnostic Example Application have no locally built library components
68 diag_ex_COMP_LIST = diag_ex
70 #
71 # Software Diagnostic Application Examples
72 #
74 # ESM example
75 diag_ex_esm_example_app_COMP_LIST = diag_ex_esm_example_app
76 diag_ex_esm_example_app_RELPATH = ti/diag/examples/esm_example_app
77 diag_ex_esm_example_app_PATH = $(PDK_DIAG_EX_COMP_PATH)/esm_example_app
78 diag_ex_esm_example_app_MAKEFILE = -f makefile
79 diag_ex_esm_example_app_BOARD_DEPENDENCY = yes
80 diag_ex_esm_example_app_CORE_DEPENDENCY = yes
81 export diag_ex_esm_example_app_COMP_LIST
82 export diag_ex_esm_example_app_BOARD_DEPENDENCY
83 export diag_ex_esm_example_app_CORE_DEPENDENCY
84 export diag_ex_esm_example_app_MAKEFILE
85 diag_ex_esm_example_app_PKG_LIST = diag_ex_esm_example_app
86 diag_ex_esm_example_app_INCLUDE = $(diag_ex_esm_example_app_PATH)
87 diag_ex_esm_example_app_BOARDLIST = $(diag_ex_BOARDLIST)
88 export diag_ex_esm_example_app_BOARDLIST
89 diag_ex_esm_example_app_$(SOC)_CORELIST = $(diag_ex_$(SOC)_CORELIST)
90 export diag_ex_esm_example_app_$(SOC)_CORELIST
91 export diag_ex_esm_example_app_SBL_APPIMAGEGEN = yes
93 diag_ex_EXAMPLE_LIST += diag_ex_esm_example_app
95 export diag_ex_LIB_LIST
96 export diag_ex_EXAMPLE_LIST
98 DIAG_EX_CFLAGS =
100 export DIAG_EX_CFLAGS
102 diag_ex_component_make_include := 1
103 endif