2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
2018-05-15 09:49:22 +00:00
|
|
|
LIB = librte_bus_vdev.a
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2019-06-25 11:12:58 +00:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_bus_vdev_version.map
|
|
|
|
|
|
|
|
# library version
|
2019-06-25 11:12:58 +00:00
|
|
|
LIBABIVER := 2
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
SRCS-y += vdev.c
|
2019-06-25 11:12:58 +00:00
|
|
|
SRCS-y += vdev_params.c
|
2018-05-15 09:49:22 +00:00
|
|
|
|
2019-06-25 11:12:58 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_kvargs
|
2018-05-15 09:49:22 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Export include files
|
|
|
|
#
|
|
|
|
SYMLINK-y-include += rte_bus_vdev.h
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|