diff options
-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 |