1 # SPDX-License-Identifier: BSD-3-Clause
4 include $(RTE_SDK)/mk/rte.vars.mk
5 RTE_BUS_DPAA=$(RTE_SDK)/drivers/bus/dpaa
10 LIB = librte_bus_dpaa.a
12 CFLAGS += -DALLOW_EXPERIMENTAL_API
13 CFLAGS := -I$(SRCDIR) $(CFLAGS)
14 CFLAGS += -O3 $(WERROR_FLAGS)
15 CFLAGS += -Wno-pointer-arith
16 CFLAGS += -Wno-cast-qual
17 CFLAGS += -I$(RTE_BUS_DPAA)/
18 CFLAGS += -I$(RTE_BUS_DPAA)/include
19 CFLAGS += -I$(RTE_BUS_DPAA)/base/qbman
20 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
21 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
23 # versioning export map
24 EXPORT_MAP := rte_bus_dpaa_version.map
28 # all source are stored in SRCS-y
30 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += \
33 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += \
36 base/fman/netcfg_layer.c \
37 base/qbman/process.c \
39 base/qbman/bman_driver.c \
41 base/qbman/qman_driver.c \
42 base/qbman/dpaa_alloc.c \
47 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
48 LDLIBS += -lrte_ethdev
49 LDLIBS += -lrte_common_dpaax
51 include $(RTE_SDK)/mk/rte.lib.mk