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)
commit7e85734709e0da78cc399c1b85655528e2d5f209
tree471f3d0a14fa6f7da968bcb2e73f0b9f4f6b7d84
parent00d40a4f29eafaded4cc530ab688a74162f21fa4
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>
package/pkg-generic.mk