acec04c4b2
Remove setting ALLOW_EXPERIMENTAL_API individually for each Makefile and meson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, lib and drivers. This changes reduces the clutter across the project while still maintaining the functionality of ALLOW_EXPERIMENTAL_API i.e. warning external applications about experimental API usage. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
30 lines
487 B
Makefile
30 lines
487 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2018 NXP
|
|
#
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
#
|
|
# library name
|
|
#
|
|
LIB = librte_common_dpaax.a
|
|
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
CFLAGS += -Wno-pointer-arith
|
|
CFLAGS += -Wno-cast-qual
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
|
|
|
|
# versioning export map
|
|
EXPORT_MAP := rte_common_dpaax_version.map
|
|
|
|
#
|
|
# all source are stored in SRCS-y
|
|
#
|
|
SRCS-y += dpaax_iova_table.c dpaa_of.c
|
|
|
|
LDLIBS += -lrte_eal
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|