net/bnxt: fix FW version query
[dpdk.git] / drivers / net / kni / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_kni.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13 LDLIBS += -lpthread
14 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
15 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_kni
16 LDLIBS += -lrte_bus_vdev
17
18 EXPORT_MAP := rte_pmd_kni_version.map
19
20 #
21 # all source are stored in SRCS-y
22 #
23 SRCS-$(CONFIG_RTE_LIBRTE_PMD_KNI) += rte_eth_kni.c
24
25 #
26 # Export include files
27 #
28 SYMLINK-y-include +=
29
30 include $(RTE_SDK)/mk/rte.lib.mk