diff options
author | Bruno Thomsen <bruno.thomsen@gmail.com> | 2020-07-24 17:51:02 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-07-30 12:10:35 +0200 |
commit | c6aae0220ea911420adc14bd6feb406e69790f5c (patch) | |
tree | ee9cb79e2fedbaec937a3e835e95dbee6c1bd084 /rules/host-squashfs-tools.in | |
parent | 32df99ca6d0b839a825c15319af4c010f93f265d (diff) | |
download | ptxdist-c6aae0220ea911420adc14bd6feb406e69790f5c.tar.gz ptxdist-c6aae0220ea911420adc14bd6feb406e69790f5c.tar.xz |
host-squashfs-tools: conditional select lzo and xz dependencies
Only select host lzo and host xz packages when needed to
speed up complete build time and avoid unnecessary dependencies.
Update image-root-squashfs Kconfig dependency selection.
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Message-Id: <20200724155103.6374-4-bruno.thomsen@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-squashfs-tools.in')
-rw-r--r-- | rules/host-squashfs-tools.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/rules/host-squashfs-tools.in b/rules/host-squashfs-tools.in index 04de7d1fc..3ba693aaf 100644 --- a/rules/host-squashfs-tools.in +++ b/rules/host-squashfs-tools.in @@ -3,13 +3,19 @@ config HOST_SQUASHFS_TOOLS tristate select HOST_ZLIB - select HOST_LIBLZO - select HOST_XZ + select HOST_LIBLZO if HOST_SQUASHFS_TOOLS_LZO_SUPPORT + select HOST_XZ if HOST_SQUASHFS_TOOLS_XZ_SUPPORT select HOST_ZSTD if HOST_SQUASHFS_TOOLS_ZSTD_SUPPORT default y if ALLYES if HOST_SQUASHFS_TOOLS +config HOST_SQUASHFS_TOOLS_LZO_SUPPORT + bool + +config HOST_SQUASHFS_TOOLS_XZ_SUPPORT + bool + config HOST_SQUASHFS_TOOLS_ZSTD_SUPPORT bool |