f-stack/dpdk/drivers/bus/vdev/Makefile

32 lines
505 B
Makefile
Raw Normal View History

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
#
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
# 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
SRCS-y += vdev.c
2019-06-25 11:12:58 +00:00
SRCS-y += vdev_params.c
2019-06-25 11:12:58 +00:00
LDLIBS += -lrte_eal -lrte_kvargs
#
# Export include files
#
SYMLINK-y-include += rte_bus_vdev.h
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk