aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-11-03 00:07:31 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-11-03 00:07:31 +0100
commit18b461925c6297f241c2b51f96f5d6d5f5de9e1d (patch)
tree7b73229b62182862945d82b77376d3d689bfba8d /init
parent17f4aca556307ddc7f86dc0a781eabef8360f732 (diff)
downloadbusybox-18b461925c6297f241c2b51f96f5d6d5f5de9e1d.tar.gz
bootchartd: warn if .config looks wrong
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init')
-rw-r--r--init/bootchartd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c
index 9fd623357..c7388c99e 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -60,6 +60,12 @@
# endif
#endif
+#if !ENABLE_TAR && !ENABLE_WERROR
+# warning Note: bootchartd requires tar command, but you did not select it.
+#elif !ENABLE_FEATURE_SEAMLESS_GZ && !ENABLE_WERROR
+# warning Note: bootchartd requires tar -z support, but you did not select it.
+#endif
+
#define BC_VERSION_STR "0.8"
/* For debugging, set to 0: