summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/Makefile
diff options
context:
space:
mode:
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>2015-07-07 10:09:28 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-07-09 17:25:46 +0200
commitbff54484b274dbfe98f189a3bbcc81f9fedb8c5d (patch)
tree38f0db0642a33ea406d92753d10c9e0254c8932d /examples/ip_pipeline/Makefile
parenteb32fe7c557476e936087bc6f835168f8145a2b0 (diff)
downloaddpdk-bff54484b274dbfe98f189a3bbcc81f9fedb8c5d.zip
dpdk-bff54484b274dbfe98f189a3bbcc81f9fedb8c5d.tar.gz
dpdk-bff54484b274dbfe98f189a3bbcc81f9fedb8c5d.tar.xz
examples/ip_pipeline: move pipelines to separate directory
Moved pipelines to separate folder, removed not needed pipelines and modified Makefile to match that change. Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'examples/ip_pipeline/Makefile')
-rw-r--r--examples/ip_pipeline/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile
index 59bea5b..213e879 100644
--- a/examples/ip_pipeline/Makefile
+++ b/examples/ip_pipeline/Makefile
@@ -36,11 +36,17 @@ endif
# Default target, can be overridden by command line or environment
RTE_TARGET ?= x86_64-native-linuxapp-gcc
+DIRS-(CONFIG_RTE_LIBRTE_PIPELINE) += pipeline
+
include $(RTE_SDK)/mk/rte.vars.mk
# binary name
APP = ip_pipeline
+VPATH += $(SRCDIR)/pipeline
+
+INC += $(wildcard *.h) $(wildcard pipeline/*.h)
+
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := main.c
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += config_parse.c
@@ -49,7 +55,8 @@ SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += config_check.c
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += init.c
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += cpu_core_map.c
+CFLAGS += -I$(SRCDIR) -I$(SRCDIR)/pipeline
CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
+CFLAGS += $(WERROR_FLAGS) -Wno-error=unused-function -Wno-error=unused-variable
include $(RTE_SDK)/mk/rte.extapp.mk