From: Intel Date: Fri, 8 Nov 2013 02:00:00 +0000 (+0100) Subject: app/cmdline_test: fix build without app/test X-Git-Tag: spdx-start~11071 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9b0a912f5ccf0a2026025a224cd506d158c0113b;p=dpdk.git 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: Intel --- diff --git a/app/cmdline_test/Makefile b/app/cmdline_test/Makefile index 00b398c21f..dab678a544 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)