lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH] fix cc-version breakage
Date
On Tuesday, August 24, 2004 4:42 pm, Jesse Barnes wrote:
> Looks like someone forgot to use $(shell ...) on the cc-version function?

Actually, this is a little nicer (look ma, no linewraps!) if we can make
gcc-version.sh executable.

Jesse
===== Makefile 1.522 vs edited =====
--- 1.522/Makefile 2004-08-23 23:59:52 -07:00
+++ edited/Makefile 2004-08-24 16:46:44 -07:00
@@ -279,8 +279,7 @@

# 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 $(srctree)/scripts/gcc-version.sh $(if $(1), $(1), $(CC)))


# Look for make include files relative to root of kernel src
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.252 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site