summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-11-12 23:16:51 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-11-12 23:16:51 +0100
commitb9338a48c5ca4259a013800d4a0cac9702428564 (patch)
treef96365549907270407fc4117d39c145e2533be1b
parentff73811081cea38960c0bba2001fdfe50e6ce4e7 (diff)
downloadembtoolkit-b9338a48c5ca4259a013800d4a0cac9702428564.tar.gz
embtoolkit-b9338a48c5ca4259a013800d4a0cac9702428564.tar.bz2
embtoolkit-b9338a48c5ca4259a013800d4a0cac9702428564.tar.xz
Build system: output cleanup message only if EMBTK_BUILDSYS_DEBUG enabled
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--mk/macros.packages.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk
index 814df77..b7dba90 100644
--- a/mk/macros.packages.mk
+++ b/mk/macros.packages.mk
@@ -522,7 +522,8 @@ endef
# $(call embtk_cleanup_pkg,PACKAGE)
#
define embtk_cleanup_pkg
- $(call embtk_pinfo,"Cleanup $(__embtk_pkg_name)...")
+ $(if $(EMBTK_BUILDSYS_DEBUG),
+ $(call embtk_pinfo,"Cleanup $(__embtk_pkg_name)..."))
$(Q)-if [ "x$(__embtk_pkg_etc)" != "x" ] && [ -e $(SYSROOT)/etc ]; \
then \
cd $(SYSROOT)/etc; rm -rf $(__embtk_pkg_etc); \