pkg-infra: correct the source name for host-only packages
authorArnout Vandecappelle <arnout@mind.be>
Sun, 14 Oct 2012 05:17:34 +0000 (05:17 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 15 Oct 2012 08:21:33 +0000 (10:21 +0200)
commit79bfcd556027901b847cae063cbcfbedf75e394a
tree9997e0198190d4473b024370069f51c8204e58e9
parent260a5820180760d4b00e530041d98eab4bab60fc
pkg-infra: correct the source name for host-only packages

Host-only package that don't define their <PKG>_SOURCE variable would
default to host-<pkg>-<version>.tar.gz.  It's more logical to remove
the host- prefix in this case.

This problem is most apparent with host-only packages downloaded from
version control, because they never define <PKG>_SOURCE.

Reported by Thomas Petazzoni and initial analysis by Luca Ceresoli.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pkg-generic.mk