diff options
author | Abdoulaye Walsimou Gaye <abdoulaye.gaye@supmeca.fr> | 2009-09-23 18:17:10 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <abdoulaye.gaye@supmeca.fr> | 2009-09-23 18:17:10 +0200 |
commit | be6008a5106eb4c09db20b7ad31e0777aa5479d0 (patch) | |
tree | 04defe93402d3323806542d3fd285c605c700993 | |
parent | 193ab68e489d69ed3c2b19c98a8b63839b32cb20 (diff) | |
download | embtoolkit-be6008a5106eb4c09db20b7ad31e0777aa5479d0.tar.gz embtoolkit-be6008a5106eb4c09db20b7ad31e0777aa5479d0.tar.bz2 embtoolkit-be6008a5106eb4c09db20b7ad31e0777aa5479d0.tar.xz |
Make sure to not restart the toolchain build process when it is already done
Signed-off-by: Abdoulaye Walsimou Gaye <abdoulaye.gaye@supmeca.fr>
-rw-r--r-- | Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -94,9 +94,21 @@ clean: rmallpath $(Q)rm -rf .config kbuild.log .fakeroot* startbuild: - $(call EMBTK_GENERIC_MESSAGE,"Starting build of selected features ...") - $(Q)make buildtoolchain host_packages_build symlink_tools \ - rootfs_build successful_build + @if [ -e $(GCC3_BUILD_DIR)/.installed ]; then \ + echo "#################### Embtoolkit Warning ######################"; \ + echo "# Warning trying to restart all the build while it is already"; \ + echo "# done. Please use the correct make target !!!"; \ + echo "##############################################################"; \ + echo; \ + make -s help; \ + else \ + echo "################## Embtoolkit build start ####################"; \ + echo "# Starting build of selected features.."; \ + echo "##############################################################"; \ + echo; \ + make buildtoolchain host_packages_build symlink_tools; \ + make rootfs_build successful_build; \ + fi include mk/macros.mk include mk/target-mcu.mk |