diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2015-01-03 19:57:42 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2015-01-03 19:58:59 +0100 |
commit | 4d89a7a723de9439cf8d1e862f792c1943491412 (patch) | |
tree | 43980c2a525a35c8d52a9545ac6a0e765aaa7b60 /core/mk/macros.mk | |
parent | 55bba4862fee60c67731db373920838f449e4365 (diff) | |
download | embtoolkit-4d89a7a723de9439cf8d1e862f792c1943491412.tar.gz embtoolkit-4d89a7a723de9439cf8d1e862f792c1943491412.tar.bz2 embtoolkit-4d89a7a723de9439cf8d1e862f792c1943491412.tar.xz |
Build system: rebuild packages if its configure options changed
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/mk/macros.mk')
-rw-r--r-- | core/mk/macros.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/mk/macros.mk b/core/mk/macros.mk index ebb82d6..426d9be 100644 --- a/core/mk/macros.mk +++ b/core/mk/macros.mk @@ -85,6 +85,12 @@ __embtk_mk_pathnotexist = $(shell test -e $(1) || echo y) __embtk_mk_uquote = $(subst ",,$(strip $(1))) embtk_uquote = $(call __embtk_mk_uquote,$(1)) +# +# embtk_shell_quote +# A macro to quote a string for use in shell variable. +# +embtk_shell_quote = $(subst ','\'',$(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)") embtk_perror = $(call embtk_echo_red,"$(__embtk_msg_h)\\n~~ EmbToolkit ~~ ERROR: $(call __embtk_mk_uquote,$(1))\\n$(__embtk_msg_h)") |