mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix cc-version breakage
@ 2004-08-24 23:42 Jesse Barnes
  2004-08-24 23:48 ` Jesse Barnes
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Barnes @ 2004-08-24 23:42 UTC (permalink / raw)
  To: linux-kernel, sam

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

Looks like someone forgot to use $(shell ...) on the cc-version function?

Jesse

[-- Attachment #2: cc-version-fix.patch --]
[-- Type: text/plain, Size: 496 bytes --]

===== Makefile 1.522 vs edited =====
--- 1.522/Makefile	2004-08-23 23:59:52 -07:00
+++ edited/Makefile	2004-08-24 16:39:46 -07:00
@@ -279,8 +279,8 @@
 
 # cc-version
 # Usage gcc-ver := $(call cc-version $(CC))
-cc-version = $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \
-              $(if $(1), $(1), $(CC))
+cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \
+              $(if $(1), $(1), $(CC)))
 
 
 # Look for make include files relative to root of kernel src

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-25  4:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-24 23:42 [PATCH] fix cc-version breakage Jesse Barnes
2004-08-24 23:48 ` Jesse Barnes
2004-08-25  4:43   ` Sam Ravnborg
2004-08-25  4:59     ` Jesse Barnes

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®