5c3132f246
Use common initialization to reduce boilerplate code. Signed-off-by: Dmitri Epshtein <dima@marvell.com> Signed-off-by: Tomasz Duszynski <tdu@semihalf.com> Reviewed-by: Natalie Samsonov <nsamsono@marvell.com>
23 lines
513 B
Makefile
23 lines
513 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Cavium, Inc
|
|
#
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF)$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL),yy)
|
|
DIRS-y += octeontx
|
|
endif
|
|
|
|
MVEP-y := $(CONFIG_RTE_LIBRTE_MVPP2_PMD)
|
|
MVEP-y += $(CONFIG_RTE_LIBRTE_MVNETA_PMD)
|
|
MVEP-y += $(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO)
|
|
ifneq (,$(findstring y,$(MVEP-y)))
|
|
DIRS-y += mvep
|
|
endif
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_COMMON_DPAAX),y)
|
|
DIRS-y += dpaax
|
|
endif
|
|
|
|
include $(RTE_SDK)/mk/rte.subdir.mk
|