From 18b461925c6297f241c2b51f96f5d6d5f5de9e1d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 3 Nov 2013 00:07:31 +0100 Subject: bootchartd: warn if .config looks wrong Signed-off-by: Denys Vlasenko --- init/bootchartd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'init/bootchartd.c') 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: -- cgit v1.2.3