From 7a101d238e55184291a169234ee704f95594d1d9 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 14 Jan 2012 16:33:03 +0100 Subject: Build system: tweak a little startbuild target and move successful_build target to help makefile Signed-off-by: Abdoulaye Walsimou Gaye --- mk/help.mk | 48 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 9 deletions(-) (limited to 'mk/help.mk') diff --git a/mk/help.mk b/mk/help.mk index 2e6d8e4..678aa6d 100644 --- a/mk/help.mk +++ b/mk/help.mk @@ -25,10 +25,10 @@ help: $(call embtk_pinfo,"Embedded systems Toolkit help. Please \ - visit - http://embtoolkit.org - for more details") - @echo " ---------------------------" + visit - http://www.embtoolkit.org - for more details") + @echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~ " @echo "| Building and configuring: |" - @echo " ---------------------------" + @echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~ " @echo "make xconfig: Show EmbToolkit configure GUI and let you to" @echo " configure your toolchain and your root" @echo " filesystem (if selected)." @@ -39,29 +39,59 @@ help: @echo " filesystem (if selected) or start xconfig if" @echo " you did not configure before." @echo - @echo " -----------" + @echo " ~~~~~~~~~~~ " @echo "| Cleaning: |" - @echo " -----------" + @echo " ~~~~~~~~~~~ " @echo "make clean: Remove all built files, but keep downloaded" @echo " packages." @echo @echo "make distclean: WARNING: like clean, but remove all downloaded" @echo " packages and .config.old files." @echo - @echo " -----------------" + @echo " ~~~~~~~~~~~~~~~~~ " @echo "| Root filesystem |" - @echo " -----------------" + @echo " ~~~~~~~~~~~~~~~~~ " @echo "make rootfs_build:" @echo " if after a first build of your toolchain and" @echo " your root filesystem, you change the contents" @echo " of the root filesystem, use this target to" @echo " rebuild it." @echo - @echo " ---------------" + @echo " ~~~~~~~~~~~~~~~ " @echo "| miscellaneous |" - @echo " ---------------" + @echo " ~~~~~~~~~~~~~~~ " @echo "make packages_fetch:" @echo " This will download all needed packages tarball." @echo " This should be used after configuration and if" @echo " you want to do an offline build." @echo + +# Successful build of EmbToolkit message +successful_build: + $(call embtk_echo_blue," ~~~~~~~~~~~~~~~~~~~~~ ") + $(call embtk_echo_blue,"| Toolchain build log |") + $(call embtk_echo_blue," ~~~~~~~~~~~~~~~~~~~~~ ") + $(call embtk_echo_blue,"You successfully build your toolchain for $(GNU_TARGET)") + $(call embtk_echo_blue,"Tools built (GCC compiler, Binutils, etc.) are located in:") + $(call embtk_echo_blue," $(TOOLS)/bin") + @echo + $(call embtk_echo_blue," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ") + $(call embtk_echo_blue,"| Root file system build log |") + $(call embtk_echo_blue," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ") +ifeq ($(CONFIG_EMBTK_HAVE_ROOTFS),y) + $(call embtk_echo_blue,"You also successfully build root filesystem(s) located in the") + $(call embtk_echo_blue,"'generated' sub-directory of EmbToolkit.") +else + $(call embtk_echo_green,"Build of root filesystem not selected.") +endif + @echo + $(call embtk_echo_blue," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ") + $(call embtk_echo_blue,"| Embedded systems Toolkit |") + $(call embtk_echo_blue," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ") + $(call embtk_echo_blue,"Hope that EmbToolkit will be useful for your project !!!") + $(call embtk_echo_blue,"Please report any bugs/suggestion at:") + $(call embtk_echo_blue," http://www.embtoolkit.org/issues/projects/show/embtoolkit") + $(call embtk_echo_blue,"You can also visit the wiki at:") + $(call embtk_echo_blue," http://www.embtoolkit.org") + @echo + $(call embtk_echo_blue,$(__embtk_msg_h)) -- cgit v1.2.3