From 2a4ab3337015186781d53a2a42fa84ba43ef7827 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 2 Sep 2008 12:43:11 +0000 Subject: Warn the user if he/she recalls a sample with EXPERIMENTAL features. Also, print the EXPERIMENTAL status when listing the samples. /trunk/scripts/showSamples.sh | 12 9 3 0 +++++++++--- /trunk/samples/samples.mk | 12 12 0 0 ++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) --- samples/samples.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'samples') diff --git a/samples/samples.mk b/samples/samples.mk index a3f88816..40db58f8 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -35,6 +35,18 @@ PHONY += $(CT_SAMPLES) $(CT_SAMPLES): @echo 'Configuring for "$@"' @$(CT_NG) $(patsubst %,copy_config_%,$(@)) oldconfig + @if grep -E '^CT_EXPERIMENTAL=y$$' .config >/dev/null 2>&1; then \ + echo ''; \ + echo '***********************************************************'; \ + echo ''; \ + echo 'WARNING! This sample may enable experimental features.'; \ + echo ' Please be sure to review the configuration prior'; \ + echo ' to building and using your toolchain!'; \ + echo 'Now, you have been warned!'; \ + echo ''; \ + echo '***********************************************************'; \ + echo ''; \ + fi @echo 'Execute "$(CT_NG) build" to build your toolchain' $(patsubst %,copy_config_%,$(CT_SAMPLES)): -- cgit v1.2.3