diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-04 14:32:41 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-04 14:32:41 +0100 |
commit | ed2af2e82dbcfccb7392e9fbc3f837de1594c103 (patch) | |
tree | b7f56fe38963c79ecf6fc7698200daf4d93873ae /scripts/mkconfigs | |
parent | c3cfcc92422f6e525073226cdbfdcb00ab1e7dc7 (diff) | |
download | busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.tar.gz busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.tar.bz2 busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.zip |
build system: detect if build host has no bzip2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/mkconfigs')
-rwxr-xr-x | scripts/mkconfigs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs index 6a26fe1dd..1bbf10c3a 100755 --- a/scripts/mkconfigs +++ b/scripts/mkconfigs | |||
@@ -28,6 +28,17 @@ | |||
28 | 28 | ||
29 | config=.config | 29 | config=.config |
30 | 30 | ||
31 | od -v -b </dev/null >/dev/null | ||
32 | if test $? != 0; then | ||
33 | echo 'od tool is not installed or cannot accept "-v -b" options' | ||
34 | exit 1 | ||
35 | fi | ||
36 | bzip2 </dev/null >/dev/null | ||
37 | if test $? != 0; then | ||
38 | echo 'bzip2 is not installed' | ||
39 | exit 1 | ||
40 | fi | ||
41 | |||
31 | { | 42 | { |
32 | echo "\ | 43 | echo "\ |
33 | #ifndef _BBCONFIGOPTS_H | 44 | #ifndef _BBCONFIGOPTS_H |