summaryrefslogtreecommitdiff
path: root/samples/samples.mk
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-02 12:43:11 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-02 12:43:11 (GMT)
commit2a4ab3337015186781d53a2a42fa84ba43ef7827 (patch)
treeb18334ec74379c364de00cfd60c4205c3a9bba9f /samples/samples.mk
parent3d4bc007196425f4ca01074d390facd292767222 (diff)
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(-)
Diffstat (limited to 'samples/samples.mk')
-rw-r--r--samples/samples.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/samples/samples.mk b/samples/samples.mk
index a3f8881..40db58f 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)):