diff options
author | Jan Beulich <JBeulich@novell.com> | 2005-06-23 03:10:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:28 -0400 |
commit | 8476994af7bd9352ecdf61ba760f7397f54e30a1 (patch) | |
tree | cff822a944162070b4e64c0b9990640383e4cad6 | |
parent | 11c80c8367db0a9d342529ed74464670cd86a1f6 (diff) |
[PATCH] apply quotation handling to Makefile.build
Adding quotation handling to rule_cc_o_c in scripts/Makefile.build as used
elsewhere.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | scripts/Makefile.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 352d531ee3c1..76ba6be3dfc9 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -176,10 +176,10 @@ endif | |||
176 | define rule_cc_o_c | 176 | define rule_cc_o_c |
177 | $(if $($(quiet)cmd_checksrc),echo ' $($(quiet)cmd_checksrc)';) \ | 177 | $(if $($(quiet)cmd_checksrc),echo ' $($(quiet)cmd_checksrc)';) \ |
178 | $(cmd_checksrc) \ | 178 | $(cmd_checksrc) \ |
179 | $(if $($(quiet)cmd_cc_o_c),echo ' $($(quiet)cmd_cc_o_c)';) \ | 179 | $(if $($(quiet)cmd_cc_o_c),echo ' $(subst ','\'',$($(quiet)cmd_cc_o_c))';) \ |
180 | $(cmd_cc_o_c); \ | 180 | $(cmd_cc_o_c); \ |
181 | $(cmd_modversions) \ | 181 | $(cmd_modversions) \ |
182 | scripts/basic/fixdep $(depfile) $@ '$(cmd_cc_o_c)' > $(@D)/.$(@F).tmp; \ | 182 | scripts/basic/fixdep $(depfile) $@ '$(subst ','\'',$(cmd_cc_o_c))' > $(@D)/.$(@F).tmp; \ |
183 | rm -f $(depfile); \ | 183 | rm -f $(depfile); \ |
184 | mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd | 184 | mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd |
185 | endef | 185 | endef |