Skip to content
Snippets Groups Projects
Unverified Commit b4caa7f7 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

build: make GLUON_FEATURES error handling compatible with older Make versions

.SHELLSTATUS was not available before Make 4.2.
parent 5617eec6
Branches
Tags
No related merge requests found
...@@ -77,8 +77,8 @@ list-targets: FORCE ...@@ -77,8 +77,8 @@ list-targets: FORCE
GLUON_DEFAULT_PACKAGES := -odhcpd -ppp -ppp-mod-pppoe -wpad-mini gluon-core ip6tables hostapd-mini GLUON_DEFAULT_PACKAGES := -odhcpd -ppp -ppp-mod-pppoe -wpad-mini gluon-core ip6tables hostapd-mini
GLUON_FEATURE_PACKAGES := $(shell scripts/features.sh '$(GLUON_FEATURES)') GLUON_FEATURE_PACKAGES := $(shell scripts/features.sh '$(GLUON_FEATURES)' || echo '__ERROR__')
ifneq ($(.SHELLSTATUS),0) ifneq ($(filter __ERROR__,$(GLUON_FEATURE_PACKAGES)),)
$(error Error while evaluating GLUON_FEATURES) $(error Error while evaluating GLUON_FEATURES)
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment