Makefile: Allow overriding revisions IDs through environment, to make it possible to build code comming from non HG repos.
--- 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))))