core/pkg-infra: check for an SCM in the correct variable

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>
This commit is contained in:
Yann E. MORIN 2018-05-02 21:50:38 +02:00 committed by Peter Korsgaard
parent 00d40a4f29
commit 7e85734709

View 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