From: Prarit Bhargava <prarit@xxxxxxxxxx> redhat/Makefile: Move RHGIT* variables to Makefile.variables Mmove the RHGITURL and RHGITCOMMIT variables to Makefile.variables. Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -207,9 +207,6 @@ endif FLAVOR = -RHGITURL?=$(shell $(GIT) config rhg.url || $(GIT) config remote.origin.url) -RHGITCOMMIT?=$(shell $(GIT) log -1 --pretty=format:%H) - # this section is needed in order to make O= to work _OUTPUT := .. ifeq ("$(origin O)", "command line") diff --git a/redhat/Makefile.variables b/redhat/Makefile.variables index blahblah..blahblah 100644 --- a/redhat/Makefile.variables +++ b/redhat/Makefile.variables @@ -96,3 +96,12 @@ BUILD ?= # be set to 1 to decrease the kernel UTS_RELEASE and PKGRELEASE by 11 characters # (YYYYMMDDgit). PREBUILD_GIT_ONLY ?= + +# This overrides the default git repository for the distg-* targets. See +# the 'make dist-full-help' entry for distg-brew for information on setting +# rhg.url. +RHGITURL?=$(shell $(GIT) config rhg.url || $(GIT) config remote.origin.url) + +# This sets the base commit ID for distg-* targets, and must be set on the +# commandline with distg-* targets. +RHGITCOMMIT?=$(shell $(GIT) log -1 --pretty=format:%H) -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1641 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure