forked from TexasInstruments/ind-comms-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.am263x
191 lines (140 loc) · 7.89 KB
/
makefile.am263x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
#
# Auto generated makefile
#
all:
$(MAKE) -f makefile.am263x libs
$(MAKE) -f makefile.am263x examples
clean: libs-clean examples-clean
scrub: libs-scrub examples-scrub
help:
@echo Notes,
@echo - Use -j to invoke parallel builds
@echo - Use PROFILE=debug or PROFILE=release [default] to build in debug or release profile
@echo .
@echo Overall build targets,
@echo ======================
@echo $(MAKE) -s -f makefile.am263x help
@echo .
@echo $(MAKE) -s -f makefile.am263x all
@echo $(MAKE) -s -f makefile.am263x clean # delete's tmp files for current profile
@echo $(MAKE) -s -f makefile.am263x scrub # delete's all tmp files and folders for all profiles
@echo .
@echo $(MAKE) -s -f makefile.am263x libs
@echo $(MAKE) -s -f makefile.am263x libs-clean # delete's tmp files for current profile
@echo $(MAKE) -s -f makefile.am263x libs-scrub # delete's all tmp files and folders for all profiles
@echo .
@echo $(MAKE) -s -f makefile.am263x examples
@echo $(MAKE) -s -f makefile.am263x examples-clean # delete's tmp files for current profile
@echo $(MAKE) -s -f makefile.am263x examples-scrub # delete's all tmp files and folders for all profiles
@echo .
@echo Library build targets,
@echo ======================
@echo $(MAKE) -s -f makefile.am263x ethercat_slave_icss_fwhal_r5f.ti-arm-clang
@echo $(MAKE) -s -f makefile.am263x icss_emac_r5f.ti-arm-clang
@echo .
@echo Library clean targets,
@echo ======================
@echo $(MAKE) -s -f makefile.am263x ethercat_slave_icss_fwhal_r5f.ti-arm-clang_clean
@echo $(MAKE) -s -f makefile.am263x icss_emac_r5f.ti-arm-clang_clean
@echo .
@echo Example build targets,
@echo ======================
@echo $(MAKE) -s -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-cc/r5fss0-0_freertos/ti-arm-clang [all clean syscfg-gui syscfg]
@echo $(MAKE) -s -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-lp/r5fss0-0_freertos/ti-arm-clang [all clean syscfg-gui syscfg]
@echo .
@echo System Example build targets,
@echo =============================
@echo .
# Various Component Targets
BUILD_COMBO_ethercat_slave_icss_fwhal = ethercat_slave_icss_fwhal_r5f.ti-arm-clang
BUILD_COMBO_icss_emac = icss_emac_r5f.ti-arm-clang
# Combine all Components
BUILD_COMBO_ALL = $(BUILD_COMBO_ethercat_slave_icss_fwhal) $(BUILD_COMBO_icss_emac)
# Combine all Pre-built Components
BUILD_COMBO_PREBUILT_ALL =
# Combine all Private Components
BUILD_COMBO_PRIVATE_ALL =
libs: $(BUILD_COMBO_ALL)
libs-prebuilt: $(BUILD_COMBO_PREBUILT_ALL)
libs-private: $(BUILD_COMBO_PRIVATE_ALL)
$(BUILD_COMBO_ethercat_slave_icss_fwhal):
$(MAKE) -C source/industrial_comms/ethercat_slave/icss_fwhal -f makefile.am263x.$(subst ethercat_slave_icss_fwhal_,,$@) all
$(BUILD_COMBO_icss_emac):
$(MAKE) -C source/networking/icss_emac -f makefile.am263x.$(subst icss_emac_,,$@) all
# Various Component Clean Targets
BUILD_COMBO_CLEAN_ethercat_slave_icss_fwhal = ethercat_slave_icss_fwhal_r5f.ti-arm-clang_clean
BUILD_COMBO_CLEAN_icss_emac = icss_emac_r5f.ti-arm-clang_clean
# Combine all Components Clean
BUILD_COMBO_CLEAN_ALL = $(BUILD_COMBO_CLEAN_ethercat_slave_icss_fwhal) $(BUILD_COMBO_CLEAN_icss_emac)
# Combine all Pre-built Components Clean
BUILD_COMBO_PREBUILT_CLEAN_ALL =
libs-clean: $(BUILD_COMBO_CLEAN_ALL)
libs-prebuilt-clean: $(BUILD_COMBO_PREBUILT_CLEAN_ALL)
$(BUILD_COMBO_CLEAN_ethercat_slave_icss_fwhal):
$(MAKE) -C source/industrial_comms/ethercat_slave/icss_fwhal -f makefile.am263x.$(subst ethercat_slave_icss_fwhal_,,$(subst _clean,,$@)) clean
$(BUILD_COMBO_CLEAN_icss_emac):
$(MAKE) -C source/networking/icss_emac -f makefile.am263x.$(subst icss_emac_,,$(subst _clean,,$@)) clean
# Various Component Scrub Targets
BUILD_COMBO_SCRUB_ethercat_slave_icss_fwhal = ethercat_slave_icss_fwhal_r5f.ti-arm-clang_scrub_scrub
BUILD_COMBO_SCRUB_icss_emac = icss_emac_r5f.ti-arm-clang_scrub_scrub
# Combine all Components Scrub Targets
BUILD_COMBO_SCRUB_ALL = $(BUILD_COMBO_SCRUB_ethercat_slave_icss_fwhal) $(BUILD_COMBO_SCRUB_icss_emac)
# Combine all Pre-built Components Scrub Targets
BUILD_COMBO_PREBUILT_SCRUB_ALL =
libs-scrub: $(BUILD_COMBO_SCRUB_ALL)
libs-prebuilt-scrub: $(BUILD_COMBO_PREBUILT_SCRUB_ALL)
$(BUILD_COMBO_SCRUB_ethercat_slave_icss_fwhal):
$(MAKE) -C source/industrial_comms/ethercat_slave/icss_fwhal -f makefile.am263x.$(subst ethercat_slave_icss_fwhal_,,$(subst _scrub,,$@)) scrub
$(BUILD_COMBO_SCRUB_icss_emac):
$(MAKE) -C source/networking/icss_emac -f makefile.am263x.$(subst icss_emac_,,$(subst _scrub,,$@)) scrub
BUILD_COMBO_EXAMPLE_ALL =
# Various Example Targets
# Various System Example Targets
BUILD_COMBO_EXAMPLE_PRIVATE_ALL =
# Various Private Example Targets
BUILD_COMBO_EXAMPLE_PRIVATE_ALL += ethercat_slave_beckhoff_ssc_demo_am263x-cc_r5fss0-0_freertos_ti-arm-clang
BUILD_COMBO_EXAMPLE_PRIVATE_ALL += ethercat_slave_beckhoff_ssc_demo_am263x-lp_r5fss0-0_freertos_ti-arm-clang
# Various Private System Example Targets
examples: $(BUILD_COMBO_EXAMPLE_ALL)
examples-private: $(BUILD_COMBO_EXAMPLE_PRIVATE_ALL)
ethercat_slave_beckhoff_ssc_demo_am263x-cc_r5fss0-0_freertos_ti-arm-clang:
$(MAKE) -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-cc/r5fss0-0_freertos/ti-arm-clang -f makefile all
ethercat_slave_beckhoff_ssc_demo_am263x-lp_r5fss0-0_freertos_ti-arm-clang:
$(MAKE) -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-lp/r5fss0-0_freertos/ti-arm-clang -f makefile all
BUILD_COMBO_EXAMPLE_CLEAN_ALL =
# Various Example Clean Targets
# Various System Example Clean Targets
BUILD_COMBO_EXAMPLE_PRIVATE_CLEAN_ALL =
# Various Private Example Targets
BUILD_COMBO_EXAMPLE_PRIVATE_CLEAN_ALL += ethercat_slave_beckhoff_ssc_demo_am263x-cc_r5fss0-0_freertos_ti-arm-clang_clean
BUILD_COMBO_EXAMPLE_PRIVATE_CLEAN_ALL += ethercat_slave_beckhoff_ssc_demo_am263x-lp_r5fss0-0_freertos_ti-arm-clang_clean
# Various Private System Example Targets
examples-clean: $(BUILD_COMBO_EXAMPLE_CLEAN_ALL)
examples-private-clean: $(BUILD_COMBO_EXAMPLE_PRIVATE_CLEAN_ALL)
ethercat_slave_beckhoff_ssc_demo_am263x-cc_r5fss0-0_freertos_ti-arm-clang_clean:
$(MAKE) -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-cc/r5fss0-0_freertos/ti-arm-clang -f makefile clean
ethercat_slave_beckhoff_ssc_demo_am263x-lp_r5fss0-0_freertos_ti-arm-clang_clean:
$(MAKE) -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-lp/r5fss0-0_freertos/ti-arm-clang -f makefile clean
BUILD_COMBO_EXAMPLE_SCRUB_ALL =
# Various Example Scrub Targets
# Various System Example Scrub Targets
BUILD_COMBO_EXAMPLE_PRIVATE_SCRUB_ALL =
# Various Private Example Targets
BUILD_COMBO_EXAMPLE_PRIVATE_SCRUB_ALL += ethercat_slave_beckhoff_ssc_demo_am263x-cc_r5fss0-0_freertos_ti-arm-clang_scrub
BUILD_COMBO_EXAMPLE_PRIVATE_SCRUB_ALL += ethercat_slave_beckhoff_ssc_demo_am263x-lp_r5fss0-0_freertos_ti-arm-clang_scrub
# Various Private System Example Targets
examples-scrub: $(BUILD_COMBO_EXAMPLE_SCRUB_ALL)
examples-scrub-private: $(BUILD_COMBO_EXAMPLE_PRIVATE_SCRUB_ALL)
ethercat_slave_beckhoff_ssc_demo_am263x-cc_r5fss0-0_freertos_ti-arm-clang_scrub:
$(MAKE) -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-cc/r5fss0-0_freertos/ti-arm-clang -f makefile scrub
ethercat_slave_beckhoff_ssc_demo_am263x-lp_r5fss0-0_freertos_ti-arm-clang_scrub:
$(MAKE) -C examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-lp/r5fss0-0_freertos/ti-arm-clang -f makefile scrub
.PHONY: all clean scrub help
.PHONY: libs libs-clean libs-scrub
.PHONY: libs-private
.PHONY: libs-prebuilt libs-prebuilt-clean libs-prebuilt-scrub
.PHONY: examples examples-clean examples-scrub
.PHONY: examples-private examples-private-clean examples-private-scrub
.PHONY: $(BUILD_COMBO_ALL) $(BUILD_COMBO_CLEAN_ALL) $(BUILD_COMBO_SCRUB_ALL)
.PHONY: $(BUILD_COMBO_EXAMPLE_ALL) $(BUILD_COMBO_EXAMPLE_CLEAN_ALL) $(BUILD_COMBO_EXAMPLE_SCRUB_ALL)
.PHONY: $(BUILD_COMBO_EXAMPLE_PRIVATE_ALL) $(BUILD_COMBO_EXAMPLE_PRIVATE_CLEAN_ALL) $(BUILD_COMBO_EXAMPLE_PRIVATE_SCRUB_ALL)