f-stack/dpdk/drivers/net/kni/Makefile

34 lines
617 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
2017-04-21 10:43:26 +00:00
#
# library name
#
LIB = librte_pmd_kni.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
LDLIBS += -lpthread
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_kni
LDLIBS += -lrte_bus_vdev
EXPORT_MAP := rte_pmd_kni_version.map
2017-04-21 10:43:26 +00:00
LIBABIVER := 1
2017-04-21 10:43:26 +00:00
#
2017-04-21 10:43:26 +00:00
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_PMD_KNI) += rte_eth_kni.c
2017-04-21 10:43:26 +00:00
#
# Export include files
#
SYMLINK-y-include +=
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk