git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus/pci: reference driver structure before mapping
[dpdk.git]
/
examples
/
ip_pipeline
/
Makefile
diff --git
a/examples/ip_pipeline/Makefile
b/examples/ip_pipeline/Makefile
index
c936d1e
..
11d2b35
100644
(file)
--- a/
examples/ip_pipeline/Makefile
+++ b/
examples/ip_pipeline/Makefile
@@
-67,6
+67,13
@@
RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
include $(RTE_SDK)/mk/rte.vars.mk
+ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp")
+$(info This application can only operate in a linuxapp environment, \
+please change the definition of the RTE_TARGET environment variable)
+all:
+clean:
+else
+
INC += $(sort $(wildcard *.h))
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := $(SRCS-y)
INC += $(sort $(wildcard *.h))
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := $(SRCS-y)
@@
-79,3
+86,4
@@
CFLAGS += $(WERROR_FLAGS)
include $(RTE_SDK)/mk/rte.extapp.mk
endif
include $(RTE_SDK)/mk/rte.extapp.mk
endif
+endif