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
pci: use EAL exposed configuration
[dpdk.git]
/
examples
/
vhost
/
Makefile
diff --git
a/examples/vhost/Makefile
b/examples/vhost/Makefile
index
c269466
..
add9f27
100644
(file)
--- a/
examples/vhost/Makefile
+++ b/
examples/vhost/Makefile
@@
-33,7
+33,7
@@
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
@@
-48,10
+48,11
@@
else
APP = vhost-switch
# all source are stored in SRCS-y
APP = vhost-switch
# all source are stored in SRCS-y
-SRCS-y := main.c
+SRCS-y := main.c
virtio_net.c
CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
CFLAGS += $(WERROR_FLAGS)
+CFLAGS += -D_GNU_SOURCE
include $(RTE_SDK)/mk/rte.extapp.mk
include $(RTE_SDK)/mk/rte.extapp.mk