New upstream version 17.11-rc3
[deb_dpdk.git] / drivers / bus / vdev / Makefile
similarity index 84%
rename from drivers/net/xenvirt/Makefile
rename to drivers/bus/vdev/Makefile
index 8b4b8f0..84bd724 100644 (file)
@@ -1,6 +1,6 @@
 #   BSD LICENSE
 #
-#   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+#   Copyright(c) 2017 Intel Corporation. All rights reserved.
 #   All rights reserved.
 #
 #   Redistribution and use in source and binary forms, with or without
@@ -34,24 +34,24 @@ include $(RTE_SDK)/mk/rte.vars.mk
 #
 # library name
 #
-LIB = librte_pmd_xenvirt.a
+LIB = librte_bus_vdev.a
 
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lxenstore
 
-EXPORT_MAP := rte_eth_xenvirt_version.map
+# versioning export map
+EXPORT_MAP := rte_bus_vdev_version.map
 
+# library version
 LIBABIVER := 1
 
-#
-# all source are stored in SRCS-y
-#
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_XENVIRT) += rte_eth_xenvirt.c rte_mempool_gntalloc.c rte_xen_lib.c
+SRCS-y += vdev.c
+
+LDLIBS += -lrte_eal
 
 #
 # Export include files
 #
-SYMLINK-y-include += rte_eth_xenvirt.h
+SYMLINK-y-include += rte_bus_vdev.h
 
 include $(RTE_SDK)/mk/rte.lib.mk