blob: c7f04346ab6c6be0bb5c6374e0df3f008f77ac03 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001
2DPDK_MARCH = $(strip $($(PLATFORM)_dpdk_arch))
3ifeq ($(DPDK_MARCH),)
4 DPDK_MARCH="native"
5endif
6
7ifneq (,$(findstring debug,$(TAG)))
8 DPDK_DEBUG=y
9else
10 DPDK_DEBUG=n
11endif
12
13DPDK_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
20dpdk_configure = echo
21
22dpdk_make_args = $(DPDK_MAKE_ARGS) config
23
24dpdk_install = make $(DPDK_MAKE_ARGS) build