mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] apply quotation handling to Makefile.build
@ 2005-05-12  8:51 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2005-05-12  8:51 UTC (permalink / raw)
  To: sam; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]

(Note: Patch also attached because the inline version is certain to get
line wrapped.)

Adding quotation handling to rule_cc_o_c in scripts/Makefile.build as
used elsewhere.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

diff -Npru linux-2.6.12-rc4.base/scripts/Makefile.build linux-2.6.12-rc4/scripts/Makefile.build
--- linux-2.6.12-rc4.base/scripts/Makefile.build	2005-03-02 08:38:19.000000000 +0100
+++ linux-2.6.12-rc4/scripts/Makefile.build	2005-03-15 14:43:04.000000000 +0100
@@ -176,10 +176,10 @@ endif
 define rule_cc_o_c
 	$(if $($(quiet)cmd_checksrc),echo '  $($(quiet)cmd_checksrc)';)   \
 	$(cmd_checksrc)							  \
-	$(if $($(quiet)cmd_cc_o_c),echo '  $($(quiet)cmd_cc_o_c)';)	  \
+	$(if $($(quiet)cmd_cc_o_c),echo '  $(subst ','\'',$($(quiet)cmd_cc_o_c))';)  \
 	$(cmd_cc_o_c);							  \
 	$(cmd_modversions)						  \
-	scripts/basic/fixdep $(depfile) $@ '$(cmd_cc_o_c)' > $(@D)/.$(@F).tmp;  \
+	scripts/basic/fixdep $(depfile) $@ '$(subst ','\'',$(cmd_cc_o_c))' > $(@D)/.$(@F).tmp;  \
 	rm -f $(depfile);						  \
 	mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd 
 endef



[-- Attachment #2: linux-2.6.12-rc4-make-quoting.patch --]
[-- Type: text/plain, Size: 1082 bytes --]

(Note: Patch also attached because the inline version is certain to get
line wrapped.)

Adding quotation handling to rule_cc_o_c in scripts/Makefile.build as
used elsewhere.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

diff -Npru linux-2.6.12-rc4.base/scripts/Makefile.build linux-2.6.12-rc4/scripts/Makefile.build
--- linux-2.6.12-rc4.base/scripts/Makefile.build	2005-03-02 08:38:19.000000000 +0100
+++ linux-2.6.12-rc4/scripts/Makefile.build	2005-03-15 14:43:04.000000000 +0100
@@ -176,10 +176,10 @@ endif
 define rule_cc_o_c
 	$(if $($(quiet)cmd_checksrc),echo '  $($(quiet)cmd_checksrc)';)   \
 	$(cmd_checksrc)							  \
-	$(if $($(quiet)cmd_cc_o_c),echo '  $($(quiet)cmd_cc_o_c)';)	  \
+	$(if $($(quiet)cmd_cc_o_c),echo '  $(subst ','\'',$($(quiet)cmd_cc_o_c))';)  \
 	$(cmd_cc_o_c);							  \
 	$(cmd_modversions)						  \
-	scripts/basic/fixdep $(depfile) $@ '$(cmd_cc_o_c)' > $(@D)/.$(@F).tmp;  \
+	scripts/basic/fixdep $(depfile) $@ '$(subst ','\'',$(cmd_cc_o_c))' > $(@D)/.$(@F).tmp;  \
 	rm -f $(depfile);						  \
 	mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd
 endef

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-12  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-12  8:51 [PATCH] apply quotation handling to Makefile.build Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®