build: Explicitly use gmake
VPP requires GNU Make to build, on GNU systems (such as Debian), GNU
Make is installed as 'make', typically with a symlink from 'gmake'.
On other systems (such as FreeBSD), 'make' is a BSD Make derriviative
and GNU Make is installed a 'gmake'.
Use $(MAKE) variable for make calls from within Makefiles. This
variable is set to the path of the calling make program, i.e.,
/usr/local/bin/gmake on a bsd system.
This is the recommended way to call make from Makefiles in the GNU Make
documentation.
Type: improvement
Change-Id: Id9162a34a0f8358f22090718087918dae31c0fce
Signed-off-by: Tom Jones <thj@freebsd.org>
diff --git a/build-data/packages/external.mk b/build-data/packages/external.mk
index db31add..7aa5476 100644
--- a/build-data/packages/external.mk
+++ b/build-data/packages/external.mk
@@ -42,4 +42,4 @@
external_build = echo
-external_install = make $(DPDK_MAKE_ARGS) -C external ebuild-build ebuild-install
+external_install = $(MAKE) $(DPDK_MAKE_ARGS) -C external ebuild-build ebuild-install