2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 6WIND S.A.
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# library name
|
|
|
|
LIB = librte_pci.a
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
CFLAGS := -I$(SRCDIR) $(CFLAGS)
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -O3
|
|
|
|
LDLIBS += -lrte_eal
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
EXPORT_MAP := rte_pci_version.map
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PCI) += rte_pci.c
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_PCI)-include += rte_pci.h
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|