From 87ce34145822c55579b8b05d7bc0335a53b3ac62 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 26 Apr 2014 20:46:48 +0200 Subject: Build system: add embtk_uquote macro Signed-off-by: Abdoulaye Walsimou Gaye --- core/mk/macros.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/mk/macros.mk b/core/mk/macros.mk index eb56c24..fc9d2db 100644 --- a/core/mk/macros.mk +++ b/core/mk/macros.mk @@ -82,7 +82,8 @@ __embtk_mk_pathnotexist = $(shell test -e $(1) || echo y) # A macro to unquote a string. # Usage: $(call __embtk_mk_uquote,$(myquotedvar)) # -__embtk_mk_uquote = $(subst ",,$(strip $(1))) +__embtk_mk_uquote = $(subst ",,$(strip $(1))) +embtk_uquote = $(call __embtk_mk_uquote,$(1)) # Macro to print messages embtk_pwarning = $(call embtk_echo_yellow,"$(__embtk_msg_h)\\n~~ EmbToolkit ~~ WARNING: $(call __embtk_mk_uquote,$(1))\\n$(__embtk_msg_h)") -- cgit v1.2.3