Added makefile for each component and the top level makefile
[keystone-rtos/edma3_lld.git] / packages / component.mk
1 # File: component.mk
2 #       This file is component include make file of OMX.
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>_PLATFORM_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 #
37 # List of modules under EDMA3 LLD
38 edma3_lld_COMP_LIST_c6xdsp = edma3_lld_rm edma3_lld_drv
40 # List of examples under EDMA3 LLD
41 edma3_lld_EXAMPLES_LIST = edma3_drv_c6472_sample edma3_drv_c6472be_sample edma3_drv_c6748_sample \
42                           edma3_drv_da830_sample edma3_drv_omapl138_sample  \
43                           edma3_drv_tci6486_sample edma3_drv_tci6486be_sample edma3_drv_ti816x_sample \
44                           edma3_drv_ti816x_sim_sample edma3_drv_tci6498_sample edma3_drv_tci6498be_sample
46 # List of libraries
47 edma3_lld_LIBS_ALL = edma3_lld_rm edma3_lld_drv edma3_lld_rm_sample edma3_lld_drv_sample
49 # EDMA3 LLD RM - Resource manager
50 edma3_lld_rm_RELPATH = ti/sdo/edma3/rm
51 edma3_lld_rm_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_rm_RELPATH)
52 edma3_lld_rm_INCLUDE = $(edma3_lld_rm_PATH) $(edma3_lld_rm_PATH)/src
53 edma3_lld_rm_PKG_LIST = edma3_lld_rm edma3_lld_rm_sample
54 edma3_lld_rm_PLATFORM_DEPENDENCY = yes
56 edma3_lld_rm_sample_RELPATH = ti/sdo/edma3/rm/sample
57 edma3_lld_rm_sample_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_rm_sample_RELPATH)
58 edma3_lld_rm_sample_INCLUDE = $(edma3_lld_rm_sample_PATH) $(edma3_lld_rm_sample_PATH)/src
59 edma3_lld_rm_sample_PLATFORM_DEPENDENCY = yes
61 # EDMA3 LLD DRV - Driver
62 edma3_lld_drv_RELPATH = ti/sdo/edma3/drv
63 edma3_lld_drv_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_drv_RELPATH)
64 edma3_lld_drv_INCLUDE = $(edma3_lld_drv_PATH) $(edma3_lld_drv_PATH)/src
65 edma3_lld_drv_PKG_LIST = edma3_lld_drv edma3_lld_drv_sample
66 edma3_lld_drv_PLATFORM_DEPENDENCY = no
68 edma3_lld_drv_sample_RELPATH = ti/sdo/edma3/drv/sample
69 edma3_lld_drv_sample_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_drv_sample_RELPATH)
70 edma3_lld_drv_sample_INCLUDE = $(edma3_lld_drv_sample_PATH) $(edma3_lld_drv_sample_PATH)/src
71 edma3_lld_drv_sample_PLATFORM_DEPENDENCY = yes
73 # EDMA3 LLD top level
74 edma3_lld_INCLUDE = $(edma3_lld_PATH)/packages $(edma3_lld_rm_INCLUDE) $(edma3_lld_drv_INCLUDE) \
75                     $(edma3_lld_rm_sample_INCLUDE) $(edma3_lld_drv_sample_INCLUDE)
77 # EDMA3 LLD examples
78 edma3_drv_c6472_sample_EXAMPLES_RELPATH = examples/edma3_driver/evm6472
79 edma3_drv_c6472_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6472_sample_EXAMPLES_RELPATH)
81 edma3_drv_c6472be_sample_EXAMPLES_RELPATH = examples/edma3_driver/evm6472BE
82 edma3_drv_c6472be_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6472be_sample_EXAMPLES_RELPATH)
84 edma3_drv_c6748_sample_EXAMPLES_RELPATH = examples/edma3_driver/evm6748
85 edma3_drv_c6748_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6748_sample_EXAMPLES_RELPATH)
87 edma3_drv_da830_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmDA830
88 edma3_drv_da830_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_da830_sample_EXAMPLES_RELPATH)
90 edma3_drv_omapl138_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138
91 edma3_drv_omapl138_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_omapl138_sample_EXAMPLES_RELPATH)
93 edma3_drv_arm_omapl138_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138_ARM
94 edma3_drv_arm_omapl138_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_arm_omapl138_sample_EXAMPLES_RELPATH)
96 edma3_drv_tci6486_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6486
97 edma3_drv_tci6486_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6486_sample_EXAMPLES_RELPATH)
99 edma3_drv_tci6486be_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6486BE
100 edma3_drv_tci6486be_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6486be_sample_EXAMPLES_RELPATH)
102 #edma3_drv_ti814x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI814x
103 #edma3_drv_ti814x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti814x_sample_EXAMPLES_RELPATH)
105 edma3_drv_ti816x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI816x
106 edma3_drv_ti816x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x_sample_EXAMPLES_RELPATH)
108 edma3_drv_ti816x_sim_sample_EXAMPLES_RELPATH = examples/edma3_driver/simTI816x
109 edma3_drv_ti816x_sim_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x_sim_sample_EXAMPLES_RELPATH)
111 edma3_drv_tci6498_sample_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6498
112 edma3_drv_tci6498_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6498_sample_EXAMPLES_RELPATH)
114 edma3_drv_tci6498be_sample_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6498BE
115 edma3_drv_tci6498be_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6498be_sample_EXAMPLES_RELPATH)
117 # Nothing beyond this point