build: Explicitly use gmake 16/40216/3
authorTom Jones <thj@freebsd.org>
Thu, 18 Jan 2024 10:48:17 +0000 (10:48 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Sun, 21 Jan 2024 14:42:03 +0000 (14:42 +0000)
commit0aa0d6ffbe9bf02c3179b7cb2b978d1896655e05
tree0484efabd127b75916d4f114187dd6329ab3ee04
parent038dad7ef29b0b724071edb5f8cc7a9845584454
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>
Makefile
build-data/packages/external.mk
build-root/Makefile
build/external/Makefile
test/Makefile