summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-09-17 16:19:15 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-09-17 16:19:15 +0200
commit84a3eda4737dda892a6a42abeba9bf346d0de286 (patch)
treef6f52b4183e1f322ff6ea7394bec393b9c0ded0e
parent598696b67e67ec2a23018a20dbdf1a62d102364a (diff)
downloadembtoolkit-84a3eda4737dda892a6a42abeba9bf346d0de286.tar.gz
embtoolkit-84a3eda4737dda892a6a42abeba9bf346d0de286.tar.bz2
embtoolkit-84a3eda4737dda892a6a42abeba9bf346d0de286.tar.xz
Build system: generic macros: improve print configure options
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--mk/macros.packages.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk
index 20dc98b..68063df 100644
--- a/mk/macros.packages.mk
+++ b/mk/macros.packages.mk
@@ -210,9 +210,8 @@ if [ "x$(CONFIG_EMBTK_$(PKGV)_NEED_AUTORECONF)" = "xy" ]; then \
fi
endef
define __embtk_print_configure_opts
- $(call embtk_echo_blue,"Configure options:")
- for i in `echo $(1) | tr " " "\n"`; \
- do echo -e $(__embtk_color_blue)$$i$(__embtk_no_color); done
+ $(if $(strip $(1)),
+ $(call embtk_echo_blue,"Configure options:$(strip $(1))") | sed "s/\(--\)/\n\t\1/g")
endef
define embtk_configure_pkg
$(call embtk_pinfo,"Configure $(__embtk_pkg_package)...")