Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | |
| 2 | DPDK_MARCH = $(strip $($(PLATFORM)_dpdk_arch)) |
| 3 | ifeq ($(DPDK_MARCH),) |
| 4 | DPDK_MARCH="native" |
| 5 | endif |
| 6 | |
| 7 | ifneq (,$(findstring debug,$(TAG))) |
| 8 | DPDK_DEBUG=y |
| 9 | else |
| 10 | DPDK_DEBUG=n |
| 11 | endif |
| 12 | |
| 13 | DPDK_MAKE_ARGS = -C $(call find_source_fn,$(PACKAGE_SOURCE)) \ |
| 14 | DPDK_BUILD_DIR=$(PACKAGE_BUILD_DIR) \ |
| 15 | DPDK_INSTALL_DIR=$(PACKAGE_INSTALL_DIR) \ |
| 16 | DPDK_MARCH=$(DPDK_MARCH) \ |
| 17 | DPDK_DEBUG=$(DPDK_DEBUG) |
| 18 | |
| 19 | |
| 20 | dpdk_configure = echo |
| 21 | |
| 22 | dpdk_make_args = $(DPDK_MAKE_ARGS) config |
| 23 | |
| 24 | dpdk_install = make $(DPDK_MAKE_ARGS) build |