3 # Copyright(c) 2010-2017 Intel Corporation. All rights reserved.
4 # Copyright(c) 2014-2015 6WIND S.A.
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
11 # * Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # * Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in
15 # the documentation and/or other materials provided with the
17 # * Neither the name of Intel Corporation nor the names of its
18 # contributors may be used to endorse or promote products derived
19 # from this software without specific prior written permission.
21 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 include $(RTE_SDK)/mk/internal/rte.compile-pre.mk
34 include $(RTE_SDK)/mk/internal/rte.install-pre.mk
35 include $(RTE_SDK)/mk/internal/rte.clean-pre.mk
36 include $(RTE_SDK)/mk/internal/rte.build-pre.mk
38 # VPATH contains at least SRCDIR
42 _INSTALL = $(INSTALL-FILES-y) $(SYMLINK-FILES-y)
43 _INSTALL += $(RTE_OUTPUT)/app/$(APP) $(RTE_OUTPUT)/app/$(APP).map
44 POSTINSTALL += target-appinstall
46 POSTCLEAN += target-appclean
48 ifeq ($(NO_LDSCRIPT),)
49 LDSCRIPT = $(RTE_LDSCRIPT)
52 # Link only the libraries used in the application
53 LDFLAGS += --as-needed
55 # default path for libs
56 _LDLIBS-y += -L$(RTE_SDK_BIN)/lib
59 # Order is important: from higher level to lower level
61 _LDLIBS-$(CONFIG_RTE_LIBRTE_PIPELINE) += -lrte_pipeline
62 _LDLIBS-$(CONFIG_RTE_LIBRTE_TABLE) += -lrte_table
63 _LDLIBS-$(CONFIG_RTE_LIBRTE_PORT) += -lrte_port
65 _LDLIBS-$(CONFIG_RTE_LIBRTE_PDUMP) += -lrte_pdump
66 _LDLIBS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += -lrte_distributor
67 _LDLIBS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += -lrte_ip_frag
68 _LDLIBS-$(CONFIG_RTE_LIBRTE_GRO) += -lrte_gro
69 _LDLIBS-$(CONFIG_RTE_LIBRTE_GSO) += -lrte_gso
70 _LDLIBS-$(CONFIG_RTE_LIBRTE_METER) += -lrte_meter
71 _LDLIBS-$(CONFIG_RTE_LIBRTE_LPM) += -lrte_lpm
72 # librte_acl needs --whole-archive because of weak functions
73 _LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += --whole-archive
74 _LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += -lrte_acl
75 _LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += --no-whole-archive
76 _LDLIBS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += -lrte_jobstats
77 _LDLIBS-$(CONFIG_RTE_LIBRTE_METRICS) += -lrte_metrics
78 _LDLIBS-$(CONFIG_RTE_LIBRTE_BITRATE) += -lrte_bitratestats
79 _LDLIBS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) += -lrte_latencystats
80 _LDLIBS-$(CONFIG_RTE_LIBRTE_POWER) += -lrte_power
82 _LDLIBS-$(CONFIG_RTE_LIBRTE_TIMER) += -lrte_timer
83 _LDLIBS-$(CONFIG_RTE_LIBRTE_EFD) += -lrte_efd
85 _LDLIBS-y += --whole-archive
87 _LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile
88 _LDLIBS-$(CONFIG_RTE_LIBRTE_HASH) += -lrte_hash
89 _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER) += -lrte_member
90 _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lrte_vhost
91 _LDLIBS-$(CONFIG_RTE_LIBRTE_KVARGS) += -lrte_kvargs
92 _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf
93 _LDLIBS-$(CONFIG_RTE_LIBRTE_NET) += -lrte_net
94 _LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lrte_ethdev
95 _LDLIBS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += -lrte_cryptodev
96 _LDLIBS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += -lrte_eventdev
97 _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool
98 _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring
99 _LDLIBS-$(CONFIG_RTE_LIBRTE_RING) += -lrte_ring
100 _LDLIBS-$(CONFIG_RTE_LIBRTE_EAL) += -lrte_eal
101 _LDLIBS-$(CONFIG_RTE_LIBRTE_CMDLINE) += -lrte_cmdline
102 _LDLIBS-$(CONFIG_RTE_LIBRTE_REORDER) += -lrte_reorder
103 _LDLIBS-$(CONFIG_RTE_LIBRTE_SCHED) += -lrte_sched
105 ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
106 _LDLIBS-$(CONFIG_RTE_LIBRTE_KNI) += -lrte_kni
109 ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n)
110 # plugins (link only if static libraries)
112 _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += -lrte_mempool_stack
114 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += -lrte_pmd_af_packet
115 _LDLIBS-$(CONFIG_RTE_LIBRTE_ARK_PMD) += -lrte_pmd_ark
116 _LDLIBS-$(CONFIG_RTE_LIBRTE_AVP_PMD) += -lrte_pmd_avp
117 _LDLIBS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += -lrte_pmd_bnx2x -lz
118 _LDLIBS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += -lrte_pmd_bnxt
119 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += -lrte_pmd_bond
120 _LDLIBS-$(CONFIG_RTE_LIBRTE_CXGBE_PMD) += -lrte_pmd_cxgbe
121 ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y)
122 _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += -lrte_bus_dpaa
123 _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += -lrte_mempool_dpaa
124 _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += -lrte_pmd_dpaa
126 _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += -lrte_pmd_dpaa2
127 _LDLIBS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += -lrte_pmd_e1000
128 _LDLIBS-$(CONFIG_RTE_LIBRTE_ENA_PMD) += -lrte_pmd_ena
129 _LDLIBS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += -lrte_pmd_enic
130 _LDLIBS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += -lrte_pmd_fm10k
131 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_FAILSAFE) += -lrte_pmd_failsafe
132 _LDLIBS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += -lrte_pmd_i40e
133 _LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe
134 ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
135 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KNI) += -lrte_pmd_kni
137 _LDLIBS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += -lrte_pmd_lio
138 _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += -lrte_pmd_mlx4 -libverbs
139 _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -lrte_pmd_mlx5 -libverbs -lmlx5
140 _LDLIBS-$(CONFIG_RTE_LIBRTE_MRVL_PMD) += -lrte_pmd_mrvl -L$(LIBMUSDK_PATH)/lib -lmusdk
141 _LDLIBS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += -lrte_pmd_nfp
142 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_NULL) += -lrte_pmd_null
143 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += -lrte_pmd_pcap -lpcap
144 _LDLIBS-$(CONFIG_RTE_LIBRTE_QEDE_PMD) += -lrte_pmd_qede
145 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_RING) += -lrte_pmd_ring
146 ifeq ($(CONFIG_RTE_LIBRTE_SCHED),y)
147 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SOFTNIC) += -lrte_pmd_softnic
149 _LDLIBS-$(CONFIG_RTE_LIBRTE_SFC_EFX_PMD) += -lrte_pmd_sfc_efx
150 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SZEDATA2) += -lrte_pmd_szedata2 -lsze2
151 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_TAP) += -lrte_pmd_tap
152 _LDLIBS-$(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD) += -lrte_pmd_thunderx_nicvf
153 _LDLIBS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += -lrte_pmd_virtio
154 ifeq ($(CONFIG_RTE_LIBRTE_VHOST),y)
155 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_VHOST) += -lrte_pmd_vhost
156 endif # $(CONFIG_RTE_LIBRTE_VHOST)
157 _LDLIBS-$(CONFIG_RTE_LIBRTE_VMXNET3_PMD) += -lrte_pmd_vmxnet3_uio
159 ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y)
160 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += -lrte_pmd_aesni_mb
161 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += -L$(AESNI_MULTI_BUFFER_LIB_PATH) -lIPSec_MB
162 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += -lrte_pmd_aesni_gcm
163 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += -L$(AESNI_MULTI_BUFFER_LIB_PATH) -lIPSec_MB
164 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += -lrte_pmd_openssl -lcrypto
165 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += -lrte_pmd_null_crypto
166 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += -lrte_pmd_qat -lcrypto
167 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += -lrte_pmd_snow3g
168 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += -L$(LIBSSO_SNOW3G_PATH)/build -lsso_snow3g
169 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += -lrte_pmd_kasumi
170 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += -L$(LIBSSO_KASUMI_PATH)/build -lsso_kasumi
171 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += -lrte_pmd_zuc
172 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += -L$(LIBSSO_ZUC_PATH)/build -lsso_zuc
173 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += -lrte_pmd_armv8
174 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += -L$(ARMV8_CRYPTO_LIB_PATH) -larmv8_crypto
175 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO) += -L$(LIBMUSDK_PATH)/lib -lrte_pmd_mrvl_crypto -lmusdk
176 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += -lrte_pmd_crypto_scheduler
177 ifeq ($(CONFIG_RTE_LIBRTE_FSLMC_BUS),y)
178 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_pmd_dpaa2_sec
179 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_mempool_dpaa2
180 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_bus_fslmc
181 endif # CONFIG_RTE_LIBRTE_FSLMC_BUS
183 ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y)
184 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += -lrte_bus_dpaa
185 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += -lrte_pmd_dpaa_sec
186 endif # CONFIG_RTE_LIBRTE_DPAA_BUS
188 endif # CONFIG_RTE_LIBRTE_CRYPTODEV
190 ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y)
191 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV) += -lrte_pmd_skeleton_event
192 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += -lrte_pmd_sw_event
193 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += -lrte_pmd_octeontx_ssovf
194 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += -lrte_pmd_dpaa2_event
195 _LDLIBS-$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL) += -lrte_mempool_octeontx
196 _LDLIBS-$(CONFIG_RTE_LIBRTE_OCTEONTX_PMD) += -lrte_pmd_octeontx
197 endif # CONFIG_RTE_LIBRTE_EVENTDEV
199 ifeq ($(CONFIG_RTE_LIBRTE_DPAA2_PMD),y)
200 _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += -lrte_bus_fslmc
201 _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += -lrte_mempool_dpaa2
202 endif # CONFIG_RTE_LIBRTE_DPAA2_PMD
204 endif # !CONFIG_RTE_BUILD_SHARED_LIBS
206 _LDLIBS-y += --no-whole-archive
208 ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n)
209 # The static libraries do not know their dependencies.
210 # So linking with static library requires explicit dependencies.
211 _LDLIBS-$(CONFIG_RTE_LIBRTE_EAL) += -lrt
212 ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP)$(CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES),yy)
213 _LDLIBS-$(CONFIG_RTE_LIBRTE_EAL) += -lnuma
215 _LDLIBS-$(CONFIG_RTE_LIBRTE_SCHED) += -lm
216 _LDLIBS-$(CONFIG_RTE_LIBRTE_SCHED) += -lrt
217 _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER) += -lm
218 _LDLIBS-$(CONFIG_RTE_LIBRTE_METER) += -lm
219 ifeq ($(CONFIG_RTE_LIBRTE_VHOST_NUMA),y)
220 _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lnuma
222 _LDLIBS-$(CONFIG_RTE_PORT_PCAP) += -lpcap
223 endif # !CONFIG_RTE_BUILD_SHARED_LIBS
225 _LDLIBS-y += $(EXECENV_LDLIBS)
227 LDLIBS += $(_LDLIBS-y) $(CPU_LDLIBS) $(EXTRA_LDLIBS)
229 # all the words except the first one
230 allbutfirst = $(wordlist 2,$(words $(1)),$(1))
232 # Eliminate duplicates without sorting, only keep the last occurrence
237 $(filter $(firstword $(1)),$(call allbutfirst,$(1))),\
238 $(filter -l%,$(firstword $(1)))),\
241 $(call filter-libs,$(call allbutfirst,$(1)))))
243 LDLIBS := $(call filter-libs,$(LDLIBS))
245 ifeq ($(RTE_DEVEL_BUILD)$(CONFIG_RTE_BUILD_SHARED_LIB),yy)
246 LDFLAGS += -rpath=$(RTE_SDK_BIN)/lib
249 MAPFLAGS = -Map=$@.map --cref
255 install: build _postinstall
262 exe2cmd = $(strip $(call dotfile,$(patsubst %,%.cmd,$(1))))
264 ifeq ($(LINK_USING_CC),1)
265 O_TO_EXE = $(CC) -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $(OBJS-y) $(call linkerprefix, \
266 $(LDLIBS) $(LDFLAGS) $(LDFLAGS_$(@)) $(EXTRA_LDFLAGS) \
269 O_TO_EXE = $(LD) -o $@ $(OBJS-y) \
270 $(LDLIBS) $(LDFLAGS) $(LDFLAGS_$(@)) $(EXTRA_LDFLAGS) \
273 O_TO_EXE_STR = $(subst ','\'',$(O_TO_EXE)) #'# fix syntax highlight
274 O_TO_EXE_DISP = $(if $(V),"$(O_TO_EXE_STR)"," LD $(@)")
275 O_TO_EXE_CMD = "cmd_$@ = $(O_TO_EXE_STR)"
276 O_TO_EXE_DO = @set -e; \
277 echo $(O_TO_EXE_DISP); \
279 echo $(O_TO_EXE_CMD) > $(call exe2cmd,$(@))
283 # path where libraries are retrieved
284 LDLIBS_PATH := $(subst -Wl$(comma)-L,,$(filter -Wl$(comma)-L%,$(LDLIBS)))
285 LDLIBS_PATH += $(subst -L,,$(filter -L%,$(LDLIBS)))
287 # list of .a files that are linked to this application
288 LDLIBS_NAMES := $(patsubst -l%,lib%.a,$(filter -l%,$(LDLIBS)))
289 LDLIBS_NAMES += $(patsubst -Wl$(comma)-l%,lib%.a,$(filter -Wl$(comma)-l%,$(LDLIBS)))
291 # list of found libraries files (useful for deps). If not found, the
292 # library is silently ignored and dep won't be checked
293 LDLIBS_FILES := $(wildcard $(foreach dir,$(LDLIBS_PATH),\
294 $(addprefix $(dir)/,$(LDLIBS_NAMES))))
297 # Compile executable file if needed
299 $(APP): $(OBJS-y) $(LDLIBS_FILES) $(DEP_$(APP)) $(LDSCRIPT) FORCE
300 @[ -d $(dir $@) ] || mkdir -p $(dir $@)
302 @echo -n "$< -> $@ " ; \
303 echo -n "file_missing=$(call boolean,$(file_missing)) " ; \
304 echo -n "cmdline_changed=$(call boolean,$(call cmdline_changed,$(O_TO_EXE_STR))) " ; \
305 echo -n "depfile_missing=$(call boolean,$(depfile_missing)) " ; \
306 echo "depfile_newer=$(call boolean,$(depfile_newer)) ")
309 $(call cmdline_changed,$(O_TO_EXE_STR)),\
315 # install app in $(RTE_OUTPUT)/app
317 $(RTE_OUTPUT)/app/$(APP): $(APP)
318 @echo " INSTALL-APP $(APP)"
319 @[ -d $(RTE_OUTPUT)/app ] || mkdir -p $(RTE_OUTPUT)/app
320 $(Q)cp -f $(APP) $(RTE_OUTPUT)/app
323 # install app map file in $(RTE_OUTPUT)/app
325 $(RTE_OUTPUT)/app/$(APP).map: $(APP)
326 @echo " INSTALL-MAP $(APP).map"
327 @[ -d $(RTE_OUTPUT)/app ] || mkdir -p $(RTE_OUTPUT)/app
328 $(Q)cp -f $(APP).map $(RTE_OUTPUT)/app
331 # Clean all generated files
335 $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS)
339 $(Q)rm -rf $(APP) $(OBJS-all) $(DEPS-all) $(DEPSTMP-all) \
340 $(CMDS-all) $(INSTALL-FILES-all) .$(APP).cmd $(APP).map
343 include $(RTE_SDK)/mk/internal/rte.compile-post.mk
344 include $(RTE_SDK)/mk/internal/rte.install-post.mk
345 include $(RTE_SDK)/mk/internal/rte.clean-post.mk
346 include $(RTE_SDK)/mk/internal/rte.build-post.mk
348 ifneq ($(wildcard $(RTE_SDK)/mk/target/$(RTE_TARGET)/rte.app.mk),)
349 include $(RTE_SDK)/mk/target/$(RTE_TARGET)/rte.app.mk
351 include $(RTE_SDK)/mk/target/generic/rte.app.mk