From: Thomas Monjalon Date: Wed, 25 Oct 2017 15:17:39 +0000 (+0200) Subject: test: fix build without flow classify X-Git-Tag: spdx-start~1213 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=91230d0cffb22bae238a90ee995b778e7850dbbb;p=dpdk.git test: fix build without flow classify The unit test for flow classify should be disabled if the library is disabled in the configuration. Fixes: 9c9befea4f57 ("test: add flow classify unit tests") Signed-off-by: Thomas Monjalon Acked-by: Bernard Iremonger --- diff --git a/test/test/Makefile b/test/test/Makefile index c2dbe40fda..bb54c9808d 100644 --- a/test/test/Makefile +++ b/test/test/Makefile @@ -107,7 +107,7 @@ SRCS-y += test_table_tables.c SRCS-y += test_table_ports.c SRCS-y += test_table_combined.c SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_table_acl.c -SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_flow_classify.c +SRCS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += test_flow_classify.c endif SRCS-y += test_rwlock.c