[dpdk-dev] [PATCH 1/3] app/cmdline_test: fix build without app/test
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Nov 18 23:31:00 CET 2013
This application is built if LIBRTE_CMDLINE is enabled.
But there was no enabled source file if APP_TEST is disabled.
Let's consider that CONFIG_RTE_APP_TEST apply only on app/test.
Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
app/cmdline_test/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/cmdline_test/Makefile b/app/cmdline_test/Makefile
index 00b398c..dab678a 100644
--- a/app/cmdline_test/Makefile
+++ b/app/cmdline_test/Makefile
@@ -39,8 +39,8 @@ APP = cmdline_test
#
# all sources are stored in SRCS-y
#
-SRCS-$(CONFIG_RTE_APP_TEST) += cmdline_test.c
-SRCS-$(CONFIG_RTE_APP_TEST) += commands.c
+SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_test.c
+SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += commands.c
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
--
1.7.10.4
More information about the dev
mailing list