lkml.org 
[lkml]   [2005]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6.14-rc4] kbuild: Eliminate build error when KALLSYMS not defined
I encountered a build error with 2.6.14-rc4 when CONFIG_KALLSYMS is not defined. The error
message in a fragment of the output was:

CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
/bin/sh: line 1: +@: command not found
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
CHK include/linux/compile.h

The following patch seems to fix it. I can't say that I really know why, but noticed this
construct elsewhere in the Makefile and it seems to work.


--- a/Makefile 2005-10-12 10:42:37.787722969 -0500
+++ b/Makefile 2005-10-12 10:42:58.396913248 -0500
@@ -662,6 +662,7 @@
# Generate System.map and verify that the content is consistent

define rule_vmlinux__
+ :
$(if $(CONFIG_KALLSYMS),,+$(call cmd,vmlinux_version))

$(call cmd,vmlinux__)
Signed-off-by: Mark Rustad <mrustad@mac.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-14 16:30    [W:0.047 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site