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
net/enic: add flow implementation based on Flow Manager API
[dpdk.git]
/
examples
/
vhost_scsi
/
Makefile
diff --git
a/examples/vhost_scsi/Makefile
b/examples/vhost_scsi/Makefile
index
3ea37eb
..
05e1ced
100644
(file)
--- a/
examples/vhost_scsi/Makefile
+++ b/
examples/vhost_scsi/Makefile
@@
-8,8
+8,7
@@
APP = vhost-scsi
SRCS-y := scsi.c vhost_scsi.c
# Build using pkg-config variables if possible
SRCS-y := scsi.c vhost_scsi.c
# Build using pkg-config variables if possible
-$(shell pkg-config --exists libdpdk)
-ifeq ($(.SHELLSTATUS),0)
+ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
all: shared
.PHONY: shared static
all: shared
.PHONY: shared static
@@
-59,6
+58,7
@@
please change the definition of the RTE_TARGET environment variable)
all:
else
all:
else
+CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -O2
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -O2
CFLAGS += $(WERROR_FLAGS)