# HG changeset patch # User Edouard Tisserant # Date 1652977272 -7200 # Node ID 20c1c8a59eab80a8e34e39cb09c0c9bc34261210 # Parent c460ec8c65e9332894e1569db3a581f6be2ee466 Makefile: Allow overriding revisions IDs through environment, to make it possible to build code comming from non HG repos. diff -r c460ec8c65e9 -r 20c1c8a59eab Makefile --- a/Makefile Thu May 19 18:19:23 2022 +0200 +++ b/Makefile Thu May 19 18:21:12 2022 +0200 @@ -63,7 +63,7 @@ $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revision,$(project)))) define get_revisionid -$(1)_revisionid=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision)) +$(1)_revisionid?=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision)) endef $(foreach project,$(OWN_PROJECTS),$(eval $(call get_revisionid,$(project))))