89214fe915
Change the iavf base code as driver common library, it is used by iavf PMD now, and it can be used by other Intel SR-IOV PMDs in the future. Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
29 lines
497 B
Makefile
29 lines
497 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
#
|
|
# library name
|
|
#
|
|
LIB = librte_common_iavf.a
|
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
CFLAGS += -Wno-pointer-arith
|
|
CFLAGS += -Wno-cast-qual
|
|
|
|
EXPORT_MAP := rte_common_iavf_version.map
|
|
|
|
#
|
|
# all source are stored in SRCS-y
|
|
#
|
|
SRCS-y += iavf_adminq.c
|
|
SRCS-y += iavf_common.c
|
|
SRCS-y += iavf_impl.c
|
|
|
|
LDLIBS += -lrte_eal
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|