diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-07-27 13:45:17 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-07-27 13:45:17 +0200 |
commit | ba97a399c28c081a65c7f2389c3a4b0cf66ee33a (patch) | |
tree | eb72ae041d61b0dca17ccec37135f56d65a31f3e /Makerules | |
parent | 8a08aeeaa08bdad0ac577a9c7840f01cab1122c1 (diff) |
buildsys: tweak quoting of V=
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 30 |
1 files changed, 16 insertions, 14 deletions
@@ -152,25 +152,27 @@ bri_disp_install = $(pur_disp_install) bri_disp_unifdef = $(pur_disp_unifdef) bri_disp_rm = $(pur_disp_rm) -ver_disp_compile.c = echo $(cmd_compile.c) -ver_disp_compile.i = echo $(cmd_compile.i) -ver_disp_compile.s = echo $(cmd_compile.s) -ver_disp_compile.u = echo $(cmd_compile.u) -ver_disp_compile.S = echo $(cmd_compile.S) -ver_disp_compile.m = echo $(cmd_compile.m) -ver_disp_compile.mi= echo $(cmd_compile.mi) -ver_disp_compile-m = echo $(cmd_compile-m) -ver_disp_hcompile.u= echo $(cmd_hcompile.u) -ver_disp_hcompile.o= echo $(cmd_hcompile.o) -ver_disp_strip = echo $(cmd_strip) -ver_disp_t_strip = echo $(cmd_t_strip) -ver_disp_ar = echo $(cmd_ar) +esc=$(subst ','\'',$(1)) +# ') +ver_disp_compile.c = echo '$(call esc,$(cmd_compile.c))' +ver_disp_compile.i = echo '$(call esc,$(cmd_compile.i))' +ver_disp_compile.s = echo '$(call esc,$(cmd_compile.s))' +ver_disp_compile.u = echo '$(call esc,$(cmd_compile.u))' +ver_disp_compile.S = echo '$(call esc,$(cmd_compile.S))' +ver_disp_compile.m = echo '$(call esc,$(cmd_compile.m))' +ver_disp_compile.mi= echo '$(call esc,$(cmd_compile.mi))' +ver_disp_compile-m = echo '$(call esc,$(cmd_compile-m))' +ver_disp_hcompile.u= echo '$(call esc,$(cmd_hcompile.u))' +ver_disp_hcompile.o= echo '$(call esc,$(cmd_hcompile.o))' +ver_disp_strip = echo '$(call esc,$(cmd_strip))' +ver_disp_t_strip = echo '$(call esc,$(cmd_t_strip))' +ver_disp_ar = echo '$(call esc,$(cmd_ar))' ver_disp_ld = ver_disp_ln = ver_disp_mkdir = ver_disp_gen = ver_disp_install = -ver_disp_unifdef = echo $(cmd_unifdef) +ver_disp_unifdef = echo '$(call esc,$(cmd_unifdef))' ver_disp_rm = disp_compile.c = $($(DISP)_disp_compile.c) |