core/pkg-infra: check for an SCM in the correct variable
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 2 May 2018 19:50:38 +0000 (21:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 2 May 2018 19:56:37 +0000 (21:56 +0200)
The site method is stored in FOO_SITE_METHOD, not in FOO_SITE.

Fixes:
http://autobuild.buildroot.net/results/131/13196dd779bc9e3b172c74851546dd4c4752aa02/

[Peter: add autobuilder reference]
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-generic.mk

index e9ee88882c8d4eb8c3dbfaaa74f21f0e28a023f7..a303dc2e0735a61e2e995323f8c789678a406186 100644 (file)
@@ -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