[git commit] bootchartd: warn if .config looks wrong

Denys Vlasenko vda.linux at googlemail.com
Sat Nov 2 23:07:31 UTC 2013


commit: http://git.busybox.net/busybox/commit/?id=18b461925c6297f241c2b51f96f5d6d5f5de9e1d
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 init/bootchartd.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/init/bootchartd.c b/init/bootchartd.c
index 9fd6233..c7388c9 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:


More information about the busybox-cvs mailing list