diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-01-12 15:33:57 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-01-12 15:46:03 +0100 |
commit | 7a75b39273de47190b7a1fa20e0bcaca6d089033 (patch) | |
tree | 7c77362d4ef53ff093eca074f95f5fa774d3488a /solenv/gbuild | |
parent | 38d1c303e12d7f67e8e5eef78e912a4be879de74 (diff) |
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
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/extensions/post_GbuildToJson.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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:= |