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
examples: ignore linux apps on bsd
[dpdk.git]
/
examples
/
vhost
/
Makefile
diff --git
a/examples/vhost/Makefile
b/examples/vhost/Makefile
index
47e054d
..
f45f83f
100644
(file)
--- a/
examples/vhost/Makefile
+++ b/
examples/vhost/Makefile
@@
-38,6
+38,12
@@
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:
+else
+
# binary name
APP = vhost-switch
# binary name
APP = vhost-switch
@@
-50,3
+56,5
@@
CFLAGS += $(WERROR_FLAGS)
LDFLAGS += -lfuse
include $(RTE_SDK)/mk/rte.extapp.mk
LDFLAGS += -lfuse
include $(RTE_SDK)/mk/rte.extapp.mk
+
+endif