Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 2 | ifneq (,$(findstring debug,$(TAG))) |
| 3 | DPDK_DEBUG=y |
| 4 | else |
| 5 | DPDK_DEBUG=n |
| 6 | endif |
| 7 | |
| 8 | DPDK_MAKE_ARGS = -C $(call find_source_fn,$(PACKAGE_SOURCE)) \ |
| 9 | DPDK_BUILD_DIR=$(PACKAGE_BUILD_DIR) \ |
| 10 | DPDK_INSTALL_DIR=$(PACKAGE_INSTALL_DIR) \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 11 | DPDK_DEBUG=$(DPDK_DEBUG) |
| 12 | |
Damjan Marion | 696f1ad | 2016-12-23 22:42:41 +0100 | [diff] [blame] | 13 | DPDK_MLX5_PMD=$(strip $($(PLATFORM)_uses_dpdk_mlx5_pmd)) |
| 14 | ifneq ($(DPDK_MLX5_PMD),) |
| 15 | DPDK_MAKE_ARGS += DPDK_MLX5_PMD=y |
| 16 | endif |
| 17 | |
Dave Barach | b635c56 | 2016-05-20 12:56:41 -0400 | [diff] [blame] | 18 | DPDK_PLATFORM_TARGET=$(strip $($(PLATFORM)_dpdk_target)) |
| 19 | ifneq ($(DPDK_PLATFORM_TARGET),) |
| 20 | DPDK_MAKE_ARGS += DPDK_TARGET=$(DPDK_PLATFORM_TARGET) |
Christophe Fontaine | 737547e | 2016-05-11 08:40:33 +0000 | [diff] [blame] | 21 | endif |
| 22 | |
| 23 | DPDK_MAKE_EXTRA_ARGS = $(strip $($(PLATFORM)_dpdk_make_extra_args)) |
| 24 | ifneq ($(DPDK_MAKE_EXTRA_ARGS),) |
| 25 | DPDK_MAKE_ARGS += DPDK_MAKE_EXTRA_ARGS="$(DPDK_MAKE_EXTRA_ARGS)" |
| 26 | endif |
| 27 | |
Damjan Marion | 2ce7f98 | 2017-01-09 20:24:50 +0100 | [diff] [blame] | 28 | dpdk_configure = echo |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 29 | |
Damjan Marion | 2ce7f98 | 2017-01-09 20:24:50 +0100 | [diff] [blame] | 30 | dpdk_make_args = $(DPDK_MAKE_ARGS) ebuild-build |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 31 | |
Damjan Marion | 2ce7f98 | 2017-01-09 20:24:50 +0100 | [diff] [blame] | 32 | dpdk_install = make $(DPDK_MAKE_ARGS) ebuild-install |