lkml.org 
[lkml]   [2004]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectkbuild: Fix parallel build
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/17 22:35:04+02:00 sam@mars.ravnborg.org
# kbuild: Fix parallel build in a distclean'ed tree
#
# Fixes the following error:
# make: *** No rule to make target `.tmp_kallsyms2.S', needed by `.tmp_kallsyms2.o'.
#
# Problem is that make does not know it have to visit scripts before it can use $(KALLSYMS)
# $(KALLSYMS) is a dependency to .tmp_kallsyms% but make suddenly complains about
# .tmp_kallsyms2 for some reasons.
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# Makefile
# 2004/08/17 22:34:48+02:00 sam@mars.ravnborg.org +3 -0
# Needs to tell make that $(KALLSYMS) is only build after visiting scripts
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-08-19 01:04:26 +02:00
+++ b/Makefile 2004-08-19 01:04:26 +02:00
@@ -600,6 +600,9 @@
.tmp_vmlinux3: $(vmlinux-objs) .tmp_kallsyms2.o arch/$(ARCH)/kernel/vmlinux.lds FORCE
$(call if_changed_rule,vmlinux__)

+# Needs to visit scripts/ before $(KALLSYMS) can be used.
+$(KALLSYMS): scripts ;
+
endif

# Finally the vmlinux rule
-
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-03-22 14:05    [W:0.104 / U:14.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site