f-stack/dpdk/drivers/crypto/dpaa_sec/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

2018-12-06 14:17:51 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
# Copyright 2017 NXP
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.vars.mk
#
# library name
#
LIB = librte_pmd_dpaa_sec.a
2017-04-21 10:43:26 +00:00
# build flags
2018-12-06 14:17:51 +00:00
CFLAGS += -DALLOW_EXPERIMENTAL_API
2017-04-21 10:43:26 +00:00
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec/
#sharing the hw flib headers from dpaa2_sec pmd
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_cryptodev
2017-04-21 10:43:26 +00:00
# versioning export map
EXPORT_MAP := rte_pmd_dpaa_sec_version.map
# library version
2017-04-21 10:43:26 +00:00
LIBABIVER := 1
# library source files
SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += dpaa_sec.c
2017-04-21 10:43:26 +00:00
# library dependencies
2017-04-21 10:43:26 +00:00
LDLIBS += -lrte_bus_dpaa
LDLIBS += -lrte_mempool_dpaa
2018-12-06 14:17:51 +00:00
LDLIBS += -lrte_common_dpaax
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk