net/failsafe: fix crash on slave queue release
[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 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 LDLIBS += -lpthread
15 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
16 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_kni
17 LDLIBS += -lrte_bus_vdev
18
19 EXPORT_MAP := rte_pmd_kni_version.map
20
21 LIBABIVER := 1
22
23 #
24 # all source are stored in SRCS-y
25 #
26 SRCS-$(CONFIG_RTE_LIBRTE_PMD_KNI) += rte_eth_kni.c
27
28 #
29 # Export include files
30 #
31 SYMLINK-y-include +=
32
33 include $(RTE_SDK)/mk/rte.lib.mk