summaryrefslogtreecommitdiff
path: root/scripts/mkconfigs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkconfigs')
-rwxr-xr-xscripts/mkconfigs11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index 6a26fe1..1bbf10c 100755
--- a/scripts/mkconfigs
+++ b/scripts/mkconfigs
@@ -28,6 +28,17 @@
config=.config
+od -v -b </dev/null >/dev/null
+if test $? != 0; then
+ echo 'od tool is not installed or cannot accept "-v -b" options'
+ exit 1
+fi
+bzip2 </dev/null >/dev/null
+if test $? != 0; then
+ echo 'bzip2 is not installed'
+ exit 1
+fi
+
{
echo "\
#ifndef _BBCONFIGOPTS_H