diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-06-30 15:33:03 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-06-30 15:33:03 +0200 |
commit | e57bdc3db6f72d12d6808acafbcf4dfe0cae0d0b (patch) | |
tree | b7bd6a046233b356d0126b7ebc2597cf04b561bc /mk | |
parent | 8d018767bad20d0b4710148d85137ee70fa0548d (diff) | |
download | embtoolkit-e57bdc3db6f72d12d6808acafbcf4dfe0cae0d0b.tar.gz embtoolkit-e57bdc3db6f72d12d6808acafbcf4dfe0cae0d0b.tar.bz2 embtoolkit-e57bdc3db6f72d12d6808acafbcf4dfe0cae0d0b.tar.xz |
Internal macros: add embtk_{pdone,pfailed} to print success or failed message
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/macros.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/macros.mk b/mk/macros.mk index 849ce02..112eb7c 100644 --- a/mk/macros.mk +++ b/mk/macros.mk @@ -78,6 +78,8 @@ __embtk_mk_uquote = $(subst ",,$(strip $(1))) 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)") embtk_pinfo = $(call embtk_echo_blue,"$(__embtk_msg_h)\\n~~ EmbToolkit ~~ $(call __embtk_mk_uquote,$(1))\\n$(__embtk_msg_h)") +embtk_pdone = $(call embtk_echo_blue,"[✔] Done : $(call __embtk_mk_uquote,$(1))") +embtk_pfailed = $(call embtk_echo_red,"[✘] Failed: $(call __embtk_mk_uquote,$(1))") # Macros for emmpty, space and comma embtk_empty := |