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
ethdev: introduce Rx queue offloads API
[dpdk.git]
/
examples
/
l3fwd-power
/
Makefile
diff --git
a/examples/l3fwd-power/Makefile
b/examples/l3fwd-power/Makefile
index
d0f8e6d
..
9c4f443
100644
(file)
--- a/
examples/l3fwd-power/Makefile
+++ b/
examples/l3fwd-power/Makefile
@@
-33,11
+33,17
@@
ifeq ($(RTE_SDK),)
$(error "Please define RTE_SDK environment variable")
endif
$(error "Please define RTE_SDK environment variable")
endif
-# Default target, can be overriden by command line or environment
+# Default target, can be overrid
d
en by command line or environment
RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
RTE_TARGET ?= x86_64-native-linuxapp-gcc
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:
+else
+
# binary name
APP = l3fwd-power
# binary name
APP = l3fwd-power
@@
-54,3
+60,4
@@
CFLAGS_main.o += -Wno-return-type
endif
include $(RTE_SDK)/mk/rte.extapp.mk
endif
include $(RTE_SDK)/mk/rte.extapp.mk
+endif