From 522c10599f7bb217a7cbfb34d26f4cf6707c0840 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sun, 1 Mar 2015 10:35:21 +0100 Subject: Toolchain: move displayed message while building to main Makefile Signed-off-by: Abdoulaye Walsimou Gaye --- core/toolchain/addons.mk | 1 - core/toolchain/core.mk | 1 - core/toolchain/toolchain.mk | 3 +++ 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/toolchain/addons.mk b/core/toolchain/addons.mk index cd61ced..259e805 100644 --- a/core/toolchain/addons.mk +++ b/core/toolchain/addons.mk @@ -36,7 +36,6 @@ __embtk_toolchain_addons_installed := $(__embtk_toolchain_addons_runrecipe-y) # __embtk_toolchain_addons-y = $(patsubst %_install,%,$(EMBTK_TOOLCHAIN_ADDONS_DEPS-y)) __embtk_toolchain_addons-n = $(patsubst %_install,%,$(EMBTK_TOOLCHAIN_ADDONS_DEPS-)) -__embtk_toolsaddons_build_msg = $(call embtk_pinfo,"Building new $(GNU_TARGET)/$(EMBTK_MCU_FLAG) toolchain ADDONS - please wait...") define __embtk_toolchain_addons_build $(__embtk_toolsaddons_build_msg) diff --git a/core/toolchain/core.mk b/core/toolchain/core.mk index a4ecf79..3ec3312 100644 --- a/core/toolchain/core.mk +++ b/core/toolchain/core.mk @@ -61,7 +61,6 @@ endif # __embtk_toolchain_deps-y = $(patsubst %_install,%,$(EMBTK_TOOLCHAIN_DEPS-y)) __embtk_toolchain_built_msg = $(call embtk_pinfo,"New $(GNU_TARGET)/$(EMBTK_MCU_FLAG) toolchain successfully built!") -__embtk_toolchain_building_msg = $(call embtk_pinfo,"Building new $(GNU_TARGET)/$(EMBTK_MCU_FLAG) CORE toolchain - please wait...") define __embtk_toolchain_core_build $(__embtk_toolchain_building_msg) diff --git a/core/toolchain/toolchain.mk b/core/toolchain/toolchain.mk index 9f361a6..3d9d28d 100644 --- a/core/toolchain/toolchain.mk +++ b/core/toolchain/toolchain.mk @@ -44,11 +44,14 @@ define __embtk_toolchain_build $(eval __xtool_build := $(if $(__embtk_toolchain_runrecipe-y),core)) $(eval __xtool_addons_build := $(if $(__embtk_toolchain_addons_runrecipe-y),addons)) $(eval __xtool_build_args := $(strip $(__xtool_build) $(__xtool_addons_build))) + $(if $(__xtool_build), + $(call embtk_pinfo,"Building new $(GNU_TARGET)/$(EMBTK_MCU_FLAG) CORE toolchain - please wait...")) $(__embtk_toolchain_mkinitdirs) $(foreach pdep,$(__embtk_toolchain_predeps-y),$(call embtk_install_xpkg,$(pdep))) $(if $(__xtool_build), $(call __embtk_toolchain_core_build,$(__xtool_build_args))) $(if $(__xtool_addons_build), + $(call embtk_pinfo,"Building new $(GNU_TARGET)/$(EMBTK_MCU_FLAG) toolchain ADDONS - please wait...") $(call __embtk_toolchain_addons_build,$(__xtool_build_args))) $(if $(__xtool_build_args), $(call embtk_pinfo,"Packaging new $(GNU_TARGET)/$(EMBTK_MCU_FLAG) toolchain - please wait...") -- cgit v1.2.3