From: Ian Jackson Date: Mon, 5 Nov 2018 18:37:05 +0000 (+0000) Subject: tools: Once again honour, but no longer advertise GIT_HTTP env var X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3049 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=83335e987c8d546e975883f391e6f37d89f45e36;p=xen.git tools: Once again honour, but no longer advertise GIT_HTTP env var In "build: add autoconf to replace custom checks in tools/check" --enable-githttp was introduced. But we missed this comment where it was advertised. Also, that commit had the effect of uncondtionally setting GIT_HTTP from the configure variable. But the env var has been advertised in some places as the way to specify this behaviour, and overriding it is just unfriendly. Signed-off-by: Ian Jackson CC: Paul Durrant Acked-by: Wei Liu --- diff --git a/config/Tools.mk.in b/config/Tools.mk.in index 1e5cc20bf7..98245f63c9 100644 --- a/config/Tools.mk.in +++ b/config/Tools.mk.in @@ -40,8 +40,8 @@ XEN_TOOLS_RPATH := @rpath@ # Download GIT repositories via HTTP or GIT's own protocol? # GIT's protocol is faster and more robust, when it works at all (firewalls # may block it). We make it the default, but if your GIT repository downloads -# fail or hang, please specify GIT_HTTP=y in your environment. -GIT_HTTP := @githttp@ +# fail or hang, please pass --enable-githttp to configure. +GIT_HTTP ?= @githttp@ # Optional components XENSTAT_XENTOP := @monitors@ diff --git a/config/Toplevel.mk.in b/config/Toplevel.mk.in index 1d991895ea..4ecacbb37d 100644 --- a/config/Toplevel.mk.in +++ b/config/Toplevel.mk.in @@ -1,2 +1,2 @@ SUBSYSTEMS := @SUBSYSTEMS@ -GIT_HTTP := @githttp@ +GIT_HTTP ?= @githttp@