aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox
diff options
context:
space:
mode:
authorRob Mosher <nyt-openwrt@countercultured.net>2018-08-08 03:13:14 -0400
committerHans Dedecker <dedeckeh@gmail.com>2018-08-08 22:08:49 +0200
commit8a3582fa8ae9a894a299ef28d0aceac1a8c4272b (patch)
treee6cd0703d7a87349453a922aad78bdc65e563ad6 /package/utils/busybox
parentcc21dab6cc164ba0bc18505f241edfbae8cb53ec (diff)
downloadupstream-8a3582fa8ae9a894a299ef28d0aceac1a8c4272b.tar.gz
upstream-8a3582fa8ae9a894a299ef28d0aceac1a8c4272b.tar.bz2
upstream-8a3582fa8ae9a894a299ef28d0aceac1a8c4272b.zip
busybox: prevent compile hang with bzip2 enabled
The BZIP2_SMALL option was not being exposed via Config.in which caused the build to fail as 'yes' is piped to the config during build. As it's expecting a number, it gets stuck in a loop. Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Diffstat (limited to 'package/utils/busybox')
-rw-r--r--package/utils/busybox/config/archival/Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/utils/busybox/config/archival/Config.in b/package/utils/busybox/config/archival/Config.in
index ccfb828a84..3ea8353de6 100644
--- a/package/utils/busybox/config/archival/Config.in
+++ b/package/utils/busybox/config/archival/Config.in
@@ -170,6 +170,15 @@ config BUSYBOX_CONFIG_BZIP2
Unless you have a specific application which requires bzip2, you
should probably say N here.
+config BUSYBOX_CONFIG_BZIP2_SMALL
+ int "Trade size for speed (0:fast 9:slow)"
+ default BUSYBOX_DEFAULT_BZIP2_SMALL
+ range 0 9
+ depends on BUSYBOX_CONFIG_BZIP2
+ help
+ 0 is faster but larger
+ 9 is smaller but slower
+
config BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
bool "Enable decompression"
default BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS