]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/utils/profiling/profiling_component.mk
Correct portNum parameter used by emac_poll_pkt and emac_poll_ctrl for ICSSG switch
[processor-sdk/pdk.git] / packages / ti / utils / profiling / profiling_component.mk
1 #
2 # Copyright (c) 2016 - 2018, Texas Instruments Incorporated
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 #
9 # *  Redistributions of source code must retain the above copyright
10 #    notice, this list of conditions and the following disclaimer.
11 #
12 # *  Redistributions in binary form must reproduce the above copyright
13 #    notice, this list of conditions and the following disclaimer in the
14 #    documentation and/or other materials provided with the distribution.
15 #
16 # *  Neither the name of Texas Instruments Incorporated nor the names of
17 #    its contributors may be used to endorse or promote products derived
18 #    from this software without specific prior written permission.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #
33 # File: profiling_component.mk
34 #       This file is component include make file of PROFILING library.
35 # List of variables set in this file and their purpose:
36 # <mod>_RELPATH        - This is the relative path of the module, typically from
37 #                        top-level directory of the package
38 # <mod>_PATH           - This is the absolute path of the module. It derives from
39 #                        absolute path of the top-level directory (set in env.mk)
40 #                        and relative path set above
41 # <mod>_INCLUDE        - This is the path that has interface header files of the
42 #                        module. This can be multiple directories (space separated)
43 # <mod>_PKG_LIST       - Names of the modules (and sub-modules) that are a part
44 #                        part of this module, including itself.
45 # <mod>_BOARD_DEPENDENCY - "yes": means the code for this module depends on
46 #                             board and the compiled obj/lib has to be kept
47 #                             under <board> directory
48 #                             "no" or "" or if this variable is not defined: means
49 #                             this module has no board dependent code and hence
50 #                             the obj/libs are not kept under <board> dir.
51 # <mod>_CORE_DEPENDENCY     - "yes": means the code for this module depends on
52 #                             core and the compiled obj/lib has to be kept
53 #                             under <core> directory
54 #                             "no" or "" or if this variable is not defined: means
55 #                             this module has no core dependent code and hence
56 #                             the obj/libs are not kept under <core> dir.
57 # <mod>_APP_STAGE_FILES     - List of source files that belongs to the module
58 #                             <mod>, but that needs to be compiled at application
59 #                             build stage (in the context of the app). This is
60 #                             primarily for link time configurations or if the
61 #                             source file is dependent on options/defines that are
62 #                             application dependent. This can be left blank or
63 #                             not defined at all, in which case, it means there
64 #                             no source files in the module <mod> that are required
65 #                             to be compiled in the application build stage.
66 #
67 ifeq ($(profiling_component_make_include), )
69 # under other list
70 drvprofiling_SOCLIST         = tda2xx tda2ex tda3xx dra75x dra78x am572x am574x am571x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x am65xx j721e am64x
71 drvprofiling_tda2xx_CORELIST = c66x a15_0 ipu1_0
72 drvprofiling_tda2ex_CORELIST = c66x a15_0 ipu1_0
73 drvprofiling_tda3xx_CORELIST = c66x ipu1_0
74 drvprofiling_dra75x_CORELIST = c66x a15_0 ipu1_0
75 drvprofiling_dra78x_CORELIST = c66x ipu1_0
76 drvprofiling_am572x_CORELIST = c66x a15_0 ipu1_0
77 drvprofiling_am574x_CORELIST = c66x a15_0 ipu1_0
78 drvprofiling_am571x_CORELIST = c66x a15_0 ipu1_0
79 drvprofiling_k2h_CORELIST    = c66x a15_0
80 drvprofiling_k2k_CORELIST    = c66x a15_0
81 drvprofiling_k2l_CORELIST    = c66x a15_0
82 drvprofiling_k2e_CORELIST    = c66x a15_0
83 drvprofiling_k2g_CORELIST    = c66x a15_0
84 drvprofiling_c6678_CORELIST  = c66x
85 drvprofiling_c6657_CORELIST  = c66x
86 drvprofiling_am437x_CORELIST = a9host
87 drvprofiling_am335x_CORELIST = a8host
88 drvprofiling_am65xx_CORELIST = mpu1_0 mcu1_0
89 drvprofiling_j721e_CORELIST  = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66xdsp_1 c66xdsp_2
90 drvprofiling_am64x_CORELIST  = mpu1_0 mcu1_0
92 ############################
93 # profiling package
94 # List of components included under profiling lib
95 # The components included here are built and will be part of profiling lib
96 ############################
97 profiling_LIB_LIST = profiling
98 drvprofiling_LIB_LIST = $(profiling_LIB_LIST)
101 # PROFILING Modules
104 # PROFILING LIB
105 profiling_COMP_LIST = profiling
106 profiling_RELPATH = ti/utils/profiling
107 profiling_PATH = $(PDK_PROFILING_COMP_PATH)
108 profiling_LIBNAME = ti.utils.profiling
109 export profiling_LIBNAME
110 profiling_LIBPATH = $(profiling_PATH)/lib
111 export profiling_LIBPATH
112 profiling_OBJPATH = $(profiling_RELPATH)/profiling
113 export profiling_OBJPATH
114 profiling_MAKEFILE = -f build/makefile_profile.mk
115 export profiling_MAKEFILE
116 profiling_BOARD_DEPENDENCY = no
117 profiling_CORE_DEPENDENCY = no
118 profiling_SOC_DEPENDENCY = no
119 export profiling_COMP_LIST
120 export profiling_BOARD_DEPENDENCY
121 export profiling_CORE_DEPENDENCY
122 export profiling_SOC_DEPENDENCY
123 profiling_PKG_LIST = profiling
124 profiling_INCLUDE = $(profiling_PATH)
125 profiling_SOCLIST = $(drvprofiling_SOCLIST)
126 export profiling_SOCLIST
127 profiling_$(SOC)_CORELIST = $(drvprofiling_$(SOC)_CORELIST)
128 export profiling_$(SOC)_CORELIST
131 export drvprofiling_LIB_LIST
132 export profiling_LIB_LIST
133 export profiling_EXAMPLE_LIST
135 profiling_component_make_include := 1
136 endif