2017-12-19 15:49:05 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2017 Intel Corporation
|
2012-09-04 13:54:00 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
ifeq ($(CONFIG_RTE_APP_TEST),y)
|
|
|
|
|
2016-07-12 12:11:06 +02:00
|
|
|
# default rule
|
|
|
|
all:
|
|
|
|
|
2016-06-13 17:07:38 +02:00
|
|
|
# Define an externally linked resource. A linked resource is an arbitrary
|
|
|
|
# file that is linked into the test binary. The application refers to this
|
|
|
|
# resource by name. The linked generates identifiers beg_<name> and end_<name>
|
|
|
|
# for referencing by the C code.
|
|
|
|
#
|
|
|
|
# Parameters: <unique name>, <file to be linked>
|
|
|
|
define linked_resource
|
|
|
|
SRCS-y += $(1).res.o
|
|
|
|
$(1).res.o: $(2)
|
2016-06-16 23:56:37 +02:00
|
|
|
@ echo ' MKRES $$@'
|
2016-06-24 00:22:59 +02:00
|
|
|
$Q [ "$$(<D)" = . ] || ln -fs $$<
|
2016-06-16 23:56:37 +02:00
|
|
|
$Q $(OBJCOPY) -I binary -B $(RTE_OBJCOPY_ARCH) -O $(RTE_OBJCOPY_TARGET) \
|
2016-06-13 17:07:38 +02:00
|
|
|
--rename-section \
|
|
|
|
.data=.rodata,alloc,load,data,contents,readonly \
|
2016-06-24 00:22:59 +02:00
|
|
|
--redefine-sym _binary_$$(subst .,_,$$(<F))_start=beg_$(1) \
|
|
|
|
--redefine-sym _binary_$$(subst .,_,$$(<F))_end=end_$(1) \
|
|
|
|
--redefine-sym _binary_$$(subst .,_,$$(<F))_size=siz_$(1) \
|
|
|
|
$$(<F) $$@
|
2016-06-13 17:07:38 +02:00
|
|
|
endef
|
|
|
|
|
2016-06-14 10:51:39 +02:00
|
|
|
ifeq ($(CONFIG_RTE_APP_TEST_RESOURCE_TAR),y)
|
2016-06-13 17:07:40 +02:00
|
|
|
define linked_tar_resource
|
|
|
|
$(1).tar: $(2)
|
2016-06-16 23:56:37 +02:00
|
|
|
@ echo ' TAR $$@'
|
|
|
|
$Q tar -C $$(dir $$<) -cf $$@ $$(notdir $$<)
|
2016-06-13 17:07:40 +02:00
|
|
|
$(call linked_resource,$(1),$(1).tar)
|
|
|
|
endef
|
2016-06-14 10:51:39 +02:00
|
|
|
else # ! CONFIG_RTE_APP_TEST_RESOURCE_TAR
|
|
|
|
linked_tar_resource =
|
|
|
|
endif # CONFIG_RTE_APP_TEST_RESOURCE_TAR
|
2016-06-13 17:07:40 +02:00
|
|
|
|
2012-09-04 13:54:00 +01:00
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
APP = test
|
|
|
|
|
|
|
|
#
|
|
|
|
# all sources are stored in SRCS-y
|
|
|
|
#
|
2013-11-14 22:26:30 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) := commands.c
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test.c
|
2016-06-13 17:07:36 +02:00
|
|
|
SRCS-y += resource.c
|
|
|
|
SRCS-y += test_resource.c
|
2016-06-24 00:22:59 +02:00
|
|
|
test_resource.res: test_resource.c
|
|
|
|
@ cp $< $@
|
|
|
|
$(eval $(call linked_resource,test_resource_c,test_resource.res))
|
2016-06-13 17:07:40 +02:00
|
|
|
$(eval $(call linked_tar_resource,test_resource_tar,test_resource.c))
|
2017-03-31 09:51:58 -04:00
|
|
|
SRCS-$(CONFIG_RTE_APP_TEST_RESOURCE_TAR) += test_cfgfile.c
|
|
|
|
$(eval $(call linked_tar_resource,test_cfgfiles,test_cfgfiles))
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_prefetch.c
|
|
|
|
SRCS-y += test_byteorder.c
|
|
|
|
SRCS-y += test_per_lcore.c
|
|
|
|
SRCS-y += test_atomic.c
|
2018-01-15 15:04:39 +00:00
|
|
|
SRCS-y += test_barrier.c
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_malloc.c
|
|
|
|
SRCS-y += test_cycles.c
|
|
|
|
SRCS-y += test_spinlock.c
|
2019-03-25 19:11:09 +08:00
|
|
|
SRCS-y += test_ticketlock.c
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_memory.c
|
|
|
|
SRCS-y += test_memzone.c
|
2017-09-21 17:20:21 +05:30
|
|
|
SRCS-y += test_bitmap.c
|
2018-01-26 10:34:51 +05:30
|
|
|
SRCS-y += test_reciprocal_division.c
|
|
|
|
SRCS-y += test_reciprocal_division_perf.c
|
2018-06-11 21:55:41 +01:00
|
|
|
SRCS-y += test_fbarray.c
|
2018-10-02 14:34:56 +01:00
|
|
|
SRCS-y += test_external_mem.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_ring.c
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-y += test_ring_perf.c
|
2014-11-12 14:24:35 +08:00
|
|
|
SRCS-y += test_pmd_perf.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_TABLE),y)
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_table.c
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test_table_pipeline.c
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_table_tables.c
|
|
|
|
SRCS-y += test_table_ports.c
|
|
|
|
SRCS-y += test_table_combined.c
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_table_acl.c
|
2017-10-25 17:17:39 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += test_flow_classify.c
|
2014-08-18 13:29:25 +02:00
|
|
|
endif
|
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_rwlock.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2019-04-03 18:20:15 -05:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_STACK) += test_stack.c
|
2019-04-03 18:20:16 -05:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_STACK) += test_stack_perf.c
|
2019-04-03 18:20:15 -05:00
|
|
|
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_TIMER) += test_timer.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_TIMER) += test_timer_perf.c
|
2015-07-27 18:46:05 -04:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_TIMER) += test_timer_racecond.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_mempool.c
|
|
|
|
SRCS-y += test_mempool_perf.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_mbuf.c
|
|
|
|
SRCS-y += test_logs.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_memcpy.c
|
|
|
|
SRCS-y += test_memcpy_perf.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2017-10-03 20:12:24 -07:00
|
|
|
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_MEMBER) += test_member.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_MEMBER) += test_member_perf.c
|
|
|
|
|
2017-01-17 22:23:53 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_EFD) += test_efd.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_EFD) += test_efd_perf.c
|
|
|
|
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash.c
|
2015-06-30 19:41:13 -04:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_thash.c
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_perf.c
|
2015-06-10 16:25:18 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_functions.c
|
2016-06-16 15:14:14 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_multiwriter.c
|
2018-07-10 10:00:00 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_readwrite.c
|
2018-10-26 00:37:33 -05:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_readwrite_lf.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm.c
|
2016-05-05 09:08:13 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm_perf.c
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm6.c
|
2016-05-05 09:08:13 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm6_perf.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_debug.c
|
|
|
|
SRCS-y += test_errno.c
|
|
|
|
SRCS-y += test_tailq.c
|
|
|
|
SRCS-y += test_string_fns.c
|
|
|
|
SRCS-y += test_cpuflags.c
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-y += test_mp_secondary.c
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_eal_flags.c
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-y += test_eal_fs.c
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_alarm.c
|
|
|
|
SRCS-y += test_interrupts.c
|
|
|
|
SRCS-y += test_version.c
|
|
|
|
SRCS-y += test_func_reentrancy.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2017-07-11 15:19:30 +01:00
|
|
|
SRCS-y += test_service_cores.c
|
|
|
|
|
2018-10-08 13:12:45 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BITRATE) += test_bitratestats.c
|
2018-10-08 13:12:46 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) += test_latencystats.c
|
2018-10-08 13:12:45 +01:00
|
|
|
|
2014-08-18 13:29:25 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline.c
|
2013-11-14 22:26:30 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_num.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_etheraddr.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_portlist.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_ipaddr.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_cirbuf.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_string.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_lib.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
2017-04-05 21:49:50 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NET) += test_crc.c
|
|
|
|
|
2014-08-18 13:29:25 +02:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_SCHED),y)
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_red.c
|
2015-08-18 18:10:04 +05:30
|
|
|
SRCS-y += test_sched.c
|
2014-08-18 13:29:25 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_METER) += test_meter.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_KNI) += test_kni.c
|
2014-11-25 16:18:11 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_POWER) += test_power.c test_power_acpi_cpufreq.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_POWER) += test_power_kvm_vm.c
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += test_common.c
|
2014-08-18 13:29:25 +02:00
|
|
|
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += test_distributor.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += test_distributor_perf.c
|
|
|
|
|
2015-02-18 14:58:14 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_REORDER) += test_reorder.c
|
|
|
|
|
2018-10-08 13:12:47 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PDUMP) += test_pdump.c
|
|
|
|
|
2014-08-18 13:29:19 +02:00
|
|
|
SRCS-y += virtual_pmd.c
|
|
|
|
SRCS-y += packet_burst_generator.c
|
2018-10-08 13:12:44 +01:00
|
|
|
SRCS-y += sample_packet_forward.c
|
2013-11-08 03:00:00 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_acl.c
|
2015-02-13 11:38:15 +01:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_RING),y)
|
2014-06-25 21:07:46 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += test_link_bonding.c
|
2015-02-13 11:38:14 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += test_link_bonding_mode4.c
|
2015-02-13 11:38:15 +01:00
|
|
|
endif
|
|
|
|
|
2015-10-30 15:25:53 +01:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_NULL),y)
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += test_link_bonding_rssconf.c
|
|
|
|
endif
|
|
|
|
|
2013-11-08 03:00:00 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_RING) += test_pmd_ring.c
|
2015-09-30 13:12:22 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_RING) += test_pmd_ring_perf.c
|
2015-11-25 13:25:16 +00:00
|
|
|
|
2016-10-04 17:11:20 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_blockcipher.c
|
2015-11-25 13:25:16 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev.c
|
2018-07-10 21:31:30 +05:30
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_asym.c
|
2015-11-25 13:25:16 +00:00
|
|
|
|
2018-10-08 14:01:27 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_METRICS) += test_metrics.c
|
|
|
|
|
2018-05-04 11:22:14 +01:00
|
|
|
ifeq ($(CONFIG_RTE_COMPRESSDEV_TEST),y)
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += test_compressdev.c
|
|
|
|
endif
|
|
|
|
|
2017-03-30 20:30:43 +01:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y)
|
|
|
|
SRCS-y += test_eventdev.c
|
2017-06-30 16:06:20 +01:00
|
|
|
SRCS-y += test_event_ring.c
|
2017-10-10 19:48:44 +05:30
|
|
|
SRCS-y += test_event_eth_rx_adapter.c
|
2018-09-20 23:11:15 +05:30
|
|
|
SRCS-y += test_event_eth_tx_adapter.c
|
2018-04-04 16:51:12 -05:00
|
|
|
SRCS-y += test_event_timer_adapter.c
|
2018-05-09 14:50:34 +05:30
|
|
|
SRCS-y += test_event_crypto_adapter.c
|
2017-03-30 20:30:43 +01:00
|
|
|
endif
|
2016-11-18 11:15:02 +05:30
|
|
|
|
2018-01-31 14:43:17 +05:30
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_RAWDEV),y)
|
|
|
|
SRCS-y += test_rawdev.c
|
|
|
|
endif
|
|
|
|
|
2014-01-28 16:06:44 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) += test_kvargs.c
|
2013-11-08 03:00:00 +01:00
|
|
|
|
2018-05-10 11:23:10 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BPF) += test_bpf.c
|
|
|
|
|
2019-01-10 21:06:33 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IPSEC) += test_ipsec.c
|
2019-01-17 11:15:22 +01:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_IPSEC),y)
|
2019-01-10 21:06:33 +00:00
|
|
|
LDLIBS += -lrte_ipsec
|
2019-01-17 11:15:22 +01:00
|
|
|
endif
|
2019-01-10 21:06:33 +00:00
|
|
|
|
2018-01-21 20:48:05 -05:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
|
|
|
2012-09-04 13:54:00 +01:00
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
|
2016-03-10 15:15:59 +02:00
|
|
|
LDLIBS += -lm
|
2018-10-08 13:12:47 +01:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PDUMP),y)
|
|
|
|
LDLIBS += -lpthread
|
|
|
|
endif
|
|
|
|
|
2018-05-04 11:22:14 +01:00
|
|
|
ifeq ($(CONFIG_RTE_COMPRESSDEV_TEST),y)
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_COMPRESSDEV),y)
|
|
|
|
LDLIBS += -lz
|
|
|
|
endif
|
|
|
|
endif
|
2016-03-10 15:15:59 +02:00
|
|
|
|
2015-01-29 10:38:44 +08:00
|
|
|
# Disable VTA for memcpy test
|
2016-05-26 16:50:14 +05:30
|
|
|
ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
|
2015-03-19 11:16:57 +08:00
|
|
|
ifeq ($(shell test $(GCC_VERSION) -ge 44 && echo 1), 1)
|
2015-01-29 10:38:44 +08:00
|
|
|
CFLAGS_test_memcpy.o += -fno-var-tracking-assignments
|
|
|
|
CFLAGS_test_memcpy_perf.o += -fno-var-tracking-assignments
|
2017-03-30 20:30:43 +01:00
|
|
|
# for older GCC versions, allow us to initialize an event using
|
|
|
|
# designated initializers.
|
|
|
|
ifeq ($(shell test $(GCC_VERSION) -le 50 && echo 1), 1)
|
|
|
|
CFLAGS_test_eventdev_sw.o += -Wno-missing-field-initializers
|
2018-05-07 14:12:52 -05:00
|
|
|
CFLAGS_test_event_timer_adapter.o += -Wno-missing-field-initializers
|
2018-05-09 14:50:34 +05:30
|
|
|
CFLAGS_test_event_crypto_adapter.o += -Wno-missing-field-initializers
|
2017-03-30 20:30:43 +01:00
|
|
|
endif
|
2015-01-29 10:38:44 +08:00
|
|
|
endif
|
2015-03-19 11:16:57 +08:00
|
|
|
endif
|
2015-01-29 10:38:44 +08:00
|
|
|
|
2015-02-13 11:38:15 +01:00
|
|
|
# Link against shared libraries when needed
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_BOND),y)
|
|
|
|
ifneq ($(CONFIG_RTE_LIBRTE_PMD_RING),y)
|
|
|
|
$(error Link bonding tests require CONFIG_RTE_LIBRTE_PMD_RING=y)
|
2017-01-31 15:04:48 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2015-02-13 11:38:15 +01:00
|
|
|
ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
|
2017-01-31 15:04:48 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_BOND),y)
|
|
|
|
LDLIBS += -lrte_pmd_bond
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_NULL),y)
|
|
|
|
LDLIBS += -lrte_pmd_null
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_RING),y)
|
2015-02-13 11:38:15 +01:00
|
|
|
LDLIBS += -lrte_pmd_ring
|
|
|
|
endif
|
2017-01-31 15:04:48 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER),y)
|
|
|
|
LDLIBS += -lrte_pmd_crypto_scheduler
|
2015-02-13 11:38:15 +01:00
|
|
|
endif
|
2017-01-31 15:04:48 +00:00
|
|
|
|
2015-02-13 11:38:15 +01:00
|
|
|
endif
|
|
|
|
|
2016-06-14 10:51:39 +02:00
|
|
|
ifeq ($(CONFIG_RTE_APP_TEST_RESOURCE_TAR),y)
|
|
|
|
LDLIBS += -larchive
|
|
|
|
endif
|
|
|
|
|
2012-09-04 13:54:00 +01:00
|
|
|
include $(RTE_SDK)/mk/rte.app.mk
|
2014-08-18 13:29:19 +02:00
|
|
|
|
|
|
|
endif
|