package/pkg-generic: depend on host-{xz, lzip} only for fitting archives
authorNorbert Lange <nolange79@gmail.com>
Sun, 17 Mar 2019 21:20:13 +0000 (22:20 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 1 Apr 2019 20:57:17 +0000 (22:57 +0200)
commit004960e967a559e59e58fbc0848212e4ebecab62
tree093f49b874342f6be85f18ad1e33baf514181c0e
parentcc419509506573ed040dd4487c2d79ae36c24b13
package/pkg-generic: depend on host-{xz, lzip} only for fitting archives

Currently, host-xz and host-lzip are built as soon as the
corresponding tools are not provided by the system, independently of
whether they are really needed by the Buildroot configuration. This is
particularly annoying for host-lzip, which is only needed for very few
packages.

This commit modifies the generic package infrastructure to only add
host-lzip and host-xz as dependencies when really needed.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[Thomas:
 - improve commit log
 - as suggested by Yann E. Morin, make the lzip case similar to the xz
   case]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkg-generic.mk