samples/samples.mk
changeset 935 e175e3538310
parent 933 fb5a4a36e0da
child 940 f0f9ba3f98f2
     1.1 --- a/samples/samples.mk	Tue Oct 14 19:40:12 2008 +0000
     1.2 +++ b/samples/samples.mk	Tue Oct 14 21:30:27 2008 +0000
     1.3 @@ -35,18 +35,30 @@
     1.4  $(CT_SAMPLES):
     1.5  	@cp $(call sample_dir,$@)/crosstool.config .config
     1.6  	@$(MAKE) -rf $(CT_NG) oldconfig
     1.7 +	@echo
     1.8 +	@echo  '***********************************************************'
     1.9 +	@echo
    1.10 +	@( . $(call sample_dir,$@)/reported.by;                                     \
    1.11 +	   echo "Initially reported by: $${reporter_name:-Yann E. MORIN}";          \
    1.12 +	   echo "URL: $${reporter_url:-http://ymorin.is-a-geek.org/}";              \
    1.13 +	   if [ -n "$${reporter_comment}" ]; then                                   \
    1.14 +	     echo  ;                                                                \
    1.15 +	     echo  "Comment:";                                                      \
    1.16 +	     printf "$${reporter_comment}\n";                                       \
    1.17 +	   fi;                                                                      \
    1.18 +	   echo  ;                                                                  \
    1.19 +	   echo  '***********************************************************';     \
    1.20 +	 )
    1.21  	@if grep -E '^CT_EXPERIMENTAL=y$$' .config >/dev/null 2>&1; then        \
    1.22 -	   echo  '';                                                            \
    1.23 -	   echo  '***********************************************************'; \
    1.24 -	   echo  '';                                                            \
    1.25 +	   echo  ;                                                              \
    1.26  	   echo  'WARNING! This sample may enable experimental features.';      \
    1.27  	   echo  '         Please be sure to review the configuration prior';   \
    1.28  	   echo  '         to building and using your toolchain!';              \
    1.29  	   echo  'Now, you have been warned!';                                  \
    1.30 -	   echo  '';                                                            \
    1.31 +	   echo  ;                                                              \
    1.32  	   echo  '***********************************************************'; \
    1.33 -	   echo  '';                                                            \
    1.34  	 fi
    1.35 +	@echo
    1.36  	@echo  'Now configured for "$@"'
    1.37  
    1.38  # The 'sample_dir' function prints the directory in which the sample is,