1.1 --- a/Makefile Sun Jun 17 13:02:00 2007 +0000
1.2 +++ b/Makefile Tue Jun 19 17:50:46 2007 +0000
1.3 @@ -17,32 +17,54 @@
1.4
1.5 HOST_CC = gcc -funsigned-char
1.6
1.7 -help::
1.8 +# Help system
1.9 +help:: help-head help-config help-samples help-build help-distrib help-env help-tail
1.10 +
1.11 +help-head::
1.12 @echo 'Available make targets:'
1.13 +
1.14 +help-config::
1.15 @echo
1.16 + @echo 'Configuration targets:'
1.17 +
1.18 +help-samples::
1.19 + @echo
1.20 + @echo 'Preconfigured targets:'
1.21 +
1.22 +help-build::
1.23 + @echo
1.24 + @echo 'Build targets:'
1.25 +
1.26 +help-distrib::
1.27 + @echo
1.28 + @echo 'Distribution targets:'
1.29 +
1.30 +help-env::
1.31 + @echo
1.32 + @echo 'Environement variables (see docs/overview.txt):'
1.33 +
1.34 +help-tail::
1.35 + @echo
1.36 + @echo 'Execute "make" or "make all" to build all targets marked with [*]'
1.37 +
1.38 +# End help system
1.39 +
1.40 +help-build::
1.41 + @echo '* build - Build the toolchain'
1.42 + @echo ' clean - Remove generated files'
1.43 + @echo ' distclean - Remove generated files, configuration and build directories'
1.44
1.45 include $(CT_TOP_DIR)/kconfig/Makefile
1.46 include $(CT_TOP_DIR)/samples/Makefile
1.47 -
1.48 -help::
1.49 - @echo 'Build targets:'
1.50 - @echo '* build - Build the toolchain'
1.51 - @echo ' regtest - Regtest-build all samples'
1.52 - @echo ' clean - Remove generated files'
1.53 - @echo ' distclean - Remove generated files, configuration and build directories'
1.54 -
1.55 include $(CT_TOP_DIR)/tools/Makefile
1.56 include $(CT_TOP_DIR)/Makefile.steps
1.57
1.58 -help::
1.59 - @echo 'Distribution targets:'
1.60 +help-distrib::
1.61 @echo ' tarball - Build a tarball of the configured toolchain'
1.62 - @echo ''
1.63 - @echo 'Environement variables (see docs/overview.txt):'
1.64 +
1.65 +help-env::
1.66 @echo ' STOP - Stop the build just after this step'
1.67 @echo ' RESTART - Restart the build just before this step'
1.68 - @echo ''
1.69 - @echo 'Execute "make" or "make all" to build all targets marked with [*]'
1.70
1.71 .config:
1.72 @echo "You must run either one of \"make config\" or \"make menuconfig\" first"