2019-07-02 15:12:23 +01:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
2019-07-05 10:34:01 +01:00
|
|
|
LIB = librte_rawdev_ioat.a
|
2019-07-02 15:12:23 +01:00
|
|
|
|
|
|
|
# build flags
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
|
|
|
|
LDLIBS += -lrte_eal -lrte_rawdev
|
|
|
|
LDLIBS += -lrte_pci -lrte_bus_pci
|
2019-07-02 15:12:30 +01:00
|
|
|
LDLIBS += -lrte_mbuf -lrte_mempool
|
2019-07-02 15:12:23 +01:00
|
|
|
|
|
|
|
# library version
|
|
|
|
LIBABIVER := 1
|
|
|
|
|
|
|
|
# versioning export map
|
2019-07-05 10:34:01 +01:00
|
|
|
EXPORT_MAP := rte_rawdev_ioat_version.map
|
2019-07-02 15:12:23 +01:00
|
|
|
|
|
|
|
# library source files
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV) += ioat_rawdev.c
|
2019-07-02 15:12:28 +01:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV) += ioat_rawdev_test.c
|
2019-07-02 15:12:23 +01:00
|
|
|
|
|
|
|
# export include files
|
|
|
|
SYMLINK-y-include += rte_ioat_rawdev.h
|
2019-07-02 15:12:25 +01:00
|
|
|
SYMLINK-y-include += rte_ioat_spec.h
|
2019-07-02 15:12:23 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|