From 266580e4ee1212b46c24eebc10f0b4b94634edb6 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Fri, 21 Aug 2009 13:22:47 +0200 Subject: Fix ugly bug which leads embtk to enter in a infinite loop Fix ugly bug which leads embtk to enter in a infinite loop. This bug come from f0597cd66d635e1ef3c0a413756ec68732e631a9 Signed-off-by: Abdoulaye Walsimou Gaye --- Makefile | 5 ++++- mk/packages.mk | 3 +++ mk/toolchain.mk | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7cab64..3b9bf83 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,10 @@ clean: rmallpath $(Q)$(MAKE) -f scripts/Makefile.clean obj=scripts/basic $(Q)rm -rf .config kbuild.log .fakeroot* -startbuild: buildtoolchain host_packages_build rootfs_build successful_build +startbuild: + $(call EMBTK_GENERIC_MESSAGE,"Starting build of selected features ...") + @$(MAKE) buildtoolchain host_packages_build symlink_tools \ + rootfs_build successful_build include mk/macros.mk include mk/target-mcu.mk diff --git a/mk/packages.mk b/mk/packages.mk index 098b69a..370b0da 100644 --- a/mk/packages.mk +++ b/mk/packages.mk @@ -70,7 +70,10 @@ endif ########################### Targets for HOST MACHINE ########################### host_packages_build: +ifeq ($(HOSTTOOLS_COMPONENTS),) +else $(call EMBTK_GENERIC_MESSAGE,"Building extra packages intended to run \ on your host machine ...") @$(MAKE) $(HOSTTOOLS_COMPONENTS) +endif diff --git a/mk/toolchain.mk b/mk/toolchain.mk index e5685b4..1062067 100644 --- a/mk/toolchain.mk +++ b/mk/toolchain.mk @@ -58,7 +58,7 @@ include $(EMBTK_ROOT)/mk/eglibc.mk buildtoolchain: mkinitialpath kernel-headers_install ccachehost_install \ gmphost_install mpfrhost_install binutils_install \ gcc1_install eglibc-headers_install gcc2_install \ - eglibc_install gcc3_install symlink_tools + eglibc_install gcc3_install $(call EMBTK_GENERIC_MESSAGE,"You successfully build a toolchain for \ $(STRICT_GNU_TARGET) !!!") symlink_tools: -- cgit v1.2.3