]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
core/download: fix source check for git method
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 12 May 2017 15:54:29 +0000 (17:54 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 15 May 2017 12:09:04 +0000 (14:09 +0200)
commitf99117fd8b83fdfb3842140e0053b14cc2c12424
treeb82e42a1307e99d7f56768ba4b1e1fc2ff9c6e52
parent6c729c63e032a81897f19ccc7a468b003e608092
core/download: fix source check for git method

Running foo-source-check on packages retrieved from git fails.

This is because there is no associated stamp file, so we do not have a
rule-assignment that sets PKG for foo-source-check.

But it does not make sense to have a stamp file at all, because
source-check is not supposed to change anything: the status after is
exactly the same as before; nothing is downlaoded, so there is no
progress (whatsoever) to memorise.

Fix that by just defining PKG in the source-check rule definition.

Fixes #9796.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 4c0aacbc317d298397cede593f74ece26d0a89f0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-generic.mk