X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost%2FMakefile;h=add9f27bb829ebf4a563a0934f478c02cc3e82a2;hb=3a1174d2f08b704775111ae70cc6c3fea4343719;hp=f45f83f78b6e205fd6dc90dff62dc338d5563162;hpb=3417cd687e5ec3e6ea695a8349aea2e8d545724a;p=dpdk.git diff --git a/examples/vhost/Makefile b/examples/vhost/Makefile index f45f83f78b..add9f27bb8 100644 --- a/examples/vhost/Makefile +++ b/examples/vhost/Makefile @@ -33,7 +33,7 @@ ifeq ($(RTE_SDK),) $(error "Please define RTE_SDK environment variable") endif -# Default target, can be overriden by command line or environment +# Default target, can be overridden by command line or environment RTE_TARGET ?= x86_64-native-linuxapp-gcc include $(RTE_SDK)/mk/rte.vars.mk @@ -48,12 +48,11 @@ else APP = vhost-switch # all source are stored in SRCS-y -#SRCS-y := cusedrv.c loopback-userspace.c -SRCS-y := main.c virtio-net.c vhost-net-cdev.c +SRCS-y := main.c virtio_net.c -CFLAGS += -O2 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -Wno-unused-parameter +CFLAGS += -O2 -D_FILE_OFFSET_BITS=64 CFLAGS += $(WERROR_FLAGS) -LDFLAGS += -lfuse +CFLAGS += -D_GNU_SOURCE include $(RTE_SDK)/mk/rte.extapp.mk