[Buildroot] [PATCH] core/pkg-infra: check for an SCM in the correct variable

Yann E. MORIN yann.morin.1998 at free.fr
Wed May 2 19:50:38 UTC 2018


The site method is stored in FOO_SITE_METHOD, not in FOO_SITE.

Reported-by: Peter Korsgaard <peter at korsgaard.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Peter Korsgaard <peter at korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Cc: Ricardo Martincoski <ricardo.martincoski at gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
---
 package/pkg-generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index e9ee88882c..a303dc2e07 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -483,7 +483,7 @@ ifndef $(2)_PATCH
  endif
 endif
 
-ifneq ($$(filter bzr cvs hg svn,$$($(2)_SITE)),)
+ifneq ($$(filter bzr cvs hg svn,$$($(2)_SITE_METHOD)),)
 BR_NO_CHECK_HASH_FOR += $$($(2)_SOURCE)
 endif
 
-- 
2.14.1



More information about the buildroot mailing list