summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_pci/Makefile
blob: 7943f30cabb47fd4d9889d5b95375a2502c912b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 6WIND S.A.

include $(RTE_SDK)/mk/rte.vars.mk

# library name
LIB = librte_pci.a

CFLAGS := -I$(SRCDIR) $(CFLAGS)
CFLAGS += $(WERROR_FLAGS) -O3
LDLIBS += -lrte_eal

EXPORT_MAP := rte_pci_version.map

SRCS-$(CONFIG_RTE_LIBRTE_PCI) += rte_pci.c

SYMLINK-$(CONFIG_RTE_LIBRTE_PCI)-include += rte_pci.h

include $(RTE_SDK)/mk/rte.lib.mk