summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-11-12 18:07:26 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-11-21 22:04:15 +0100
commit57c46201cb1703d9d3b09cc92d398794f536d7df (patch)
tree423917cd375fb4640058ab57694eafbc81a4716b
parent3c4724b05acc136ee08570c262fe0b736759846a (diff)
downloaddpdk-stable-57c46201cb1703d9d3b09cc92d398794f536d7df.zip
dpdk-stable-57c46201cb1703d9d3b09cc92d398794f536d7df.tar.gz
dpdk-stable-57c46201cb1703d9d3b09cc92d398794f536d7df.tar.xz
app/cmdline_test: fix build without app/test
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@6wind.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
-rw-r--r--app/cmdline_test/Makefile4
1 files 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)