build: Error out Makefile if bash can't be found
Type: improvement Change-Id: I3bba4e53364dbcc0d7a373fdc9cac2db3bbb4249 Signed-off-by: Tom Jones <thj@freebsd.org>
This commit is contained in:
4
Makefile
4
Makefile
@ -23,6 +23,10 @@ MACHINE=$(shell uname -m)
|
|||||||
SUDO?=sudo -E
|
SUDO?=sudo -E
|
||||||
DPDK_CONFIG?=no-pci
|
DPDK_CONFIG?=no-pci
|
||||||
|
|
||||||
|
ifeq ($(strip $(SHELL)),)
|
||||||
|
$(error "bash not found, VPP requires bash to build")
|
||||||
|
endif
|
||||||
|
|
||||||
,:=,
|
,:=,
|
||||||
define disable_plugins
|
define disable_plugins
|
||||||
$(if $(1), \
|
$(if $(1), \
|
||||||
|
Reference in New Issue
Block a user