From 7a75b39273de47190b7a1fa20e0bcaca6d089033 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 12 Jan 2017 15:33:57 +0100 Subject: gbuild: make 3.81 doesn't currently work with gbuildtojson There is some problem with the pattern rule in post_GbuildToJson.mk being ignored, causing spurious workdir/GbuildToJson/Library/lib*.exports files with bogus content to be written; rather than trying to adapt that to 3.81 pattern rule evaluation, just refuse to run with 3.81, which is obsolete anyway. Change-Id: I492866464b309f8c475e34e8f311e42bf8736247 --- solenv/gbuild/extensions/post_GbuildToJson.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'solenv') diff --git a/solenv/gbuild/extensions/post_GbuildToJson.mk b/solenv/gbuild/extensions/post_GbuildToJson.mk index a5f9ee2f25bb..d0e8611818b2 100644 --- a/solenv/gbuild/extensions/post_GbuildToJson.mk +++ b/solenv/gbuild/extensions/post_GbuildToJson.mk @@ -9,6 +9,10 @@ ifneq ($(filter gbuildtojson,$(MAKECMDGOALS)),) +ifeq ($(MAKE_VERSION),3.81) +$(error make version 3.81 not supported for gbuildtojson; install newer make via LODE) +endif + # possibly recurse to ensure gbuildtojson was build before running the modded make gb_GbuildToJson_prep := $(shell $(MAKE) -f $(SRCDIR)/solenv/Makefile Executable_gbuildtojson) gb_FULLDEPS:= -- cgit