pkg-generic: check that SITE has a value when SOURCE
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Jul 2016 09:50:01 +0000 (11:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 Jul 2016 11:00:53 +0000 (13:00 +0200)
commit235ac0cc185b453c475cfde32f0ba00da0137e36
tree26bd5a7c88bea85d99b806b9807fc22af5e629cc
parenta0aa7e0e1750f6ace2879ea8adb1425a41431b79
pkg-generic: check that SITE has a value when SOURCE

Currently, when an user forgets to define a SITE, he gets some fairly
weird download failure. In order to make things easier to diagnose, this
commit adds a check in the package infrastructure that verifies that if
SOURCE has a value, SITE is not empty.

Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-generic.mk