2015-12-08 15:45:58 -07:00
|
|
|
|
|
|
|
ifneq (,$(findstring debug,$(TAG)))
|
|
|
|
DPDK_DEBUG=y
|
|
|
|
else
|
|
|
|
DPDK_DEBUG=n
|
|
|
|
endif
|
|
|
|
|
|
|
|
DPDK_MAKE_ARGS = -C $(call find_source_fn,$(PACKAGE_SOURCE)) \
|
|
|
|
DPDK_BUILD_DIR=$(PACKAGE_BUILD_DIR) \
|
|
|
|
DPDK_INSTALL_DIR=$(PACKAGE_INSTALL_DIR) \
|
|
|
|
DPDK_DEBUG=$(DPDK_DEBUG)
|
|
|
|
|
2017-01-20 15:35:23 +00:00
|
|
|
DPDK_CRYPTO_SW_PMD=$(strip $($(PLATFORM)_uses_dpdk_cryptodev_sw))
|
|
|
|
ifneq ($(DPDK_CRYPTO_SW_PMD),)
|
|
|
|
DPDK_MAKE_ARGS += DPDK_CRYPTO_SW_PMD=y
|
2016-11-25 13:36:12 +00:00
|
|
|
endif
|
2015-12-08 15:45:58 -07:00
|
|
|
|
2016-12-23 22:42:41 +01:00
|
|
|
DPDK_MLX5_PMD=$(strip $($(PLATFORM)_uses_dpdk_mlx5_pmd))
|
|
|
|
ifneq ($(DPDK_MLX5_PMD),)
|
|
|
|
DPDK_MAKE_ARGS += DPDK_MLX5_PMD=y
|
|
|
|
endif
|
|
|
|
|
2016-05-20 12:56:41 -04:00
|
|
|
DPDK_PLATFORM_TARGET=$(strip $($(PLATFORM)_dpdk_target))
|
|
|
|
ifneq ($(DPDK_PLATFORM_TARGET),)
|
|
|
|
DPDK_MAKE_ARGS += DPDK_TARGET=$(DPDK_PLATFORM_TARGET)
|
2016-05-11 08:40:33 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
DPDK_MAKE_EXTRA_ARGS = $(strip $($(PLATFORM)_dpdk_make_extra_args))
|
|
|
|
ifneq ($(DPDK_MAKE_EXTRA_ARGS),)
|
|
|
|
DPDK_MAKE_ARGS += DPDK_MAKE_EXTRA_ARGS="$(DPDK_MAKE_EXTRA_ARGS)"
|
|
|
|
endif
|
|
|
|
|
2017-01-09 20:24:50 +01:00
|
|
|
dpdk_configure = echo
|
2015-12-08 15:45:58 -07:00
|
|
|
|
2017-01-09 20:24:50 +01:00
|
|
|
dpdk_make_args = $(DPDK_MAKE_ARGS) ebuild-build
|
2015-12-08 15:45:58 -07:00
|
|
|
|
2017-01-09 20:24:50 +01:00
|
|
|
dpdk_install = make $(DPDK_MAKE_ARGS) ebuild-install
|