From: Keith M Wesolowski <wesolows@foobazco.org>
To: sparclinux@vger.kernel.org
Subject: Re: Buglet making vmlinux with -j
Date: Fri, 20 Aug 2004 21:07:49 +0000 [thread overview]
Message-ID: <20040820210749.GA14507@foobazco.org> (raw)
In-Reply-To: <200408202156.06459.crn@netunix.com>
On Fri, Aug 20, 2004 at 02:05:29PM -0700, David S. Miller wrote:
> It's because of all the btfixup stuff in the sparc32
> build machinery, William.
>
> He doesn't need to give any more description, it is clear
> what the issue is.
Yes, and there's a patch for it I got long ago, I think from Pete who
in turn got it from someone else (feel free to speak up). I doubt
this was ever integrated, since 2.4 is dead and buried.
diff -ur linux-2.4-export-orig/arch/sparc/Makefile linux-2.4-export-new/arch/sparc/Makefile
--- linux-2.4-export-orig/arch/sparc/Makefile Sun Feb 16 01:23:12 2003
+++ linux-2.4-export-new/arch/sparc/Makefile Sun May 18 14:07:02 2003
@@ -45,6 +45,7 @@
$(TOPDIR)/arch/sparc/lib/lib.a
# This one has to come last
+_dir_arch/sparc/boot : $(patsubst %, _dir_%, $(SUBDIRS))
SUBDIRS += arch/sparc/boot
CORE_FILES_NO_BTFIX := $(CORE_FILES)
CORE_FILES += arch/sparc/boot/btfix.o
diff -ur linux-2.4-export-orig/arch/sparc/boot/Makefile linux-2.4-export-new/arch/sparc/boot/Makefile
--- linux-2.4-export-orig/arch/sparc/boot/Makefile Sun Feb 16 01:24:48 2003
+++ linux-2.4-export-new/arch/sparc/boot/Makefile Sun May 18 13:55:44 2003
@@ -26,11 +26,14 @@
BTLIBS := $(CORE_FILES_NO_BTFIX) $(FILESYSTEMS) \
$(DRIVERS) $(NETWORKS)
-# I wanted to make this depend upon BTOBJS so that a parallel
-# build would work, but this fails because $(HEAD) cannot work
-# properly as it will cause head.o to be built with the implicit
-# rules not the ones in kernel/Makefile. Someone please fix. --DaveM
-vmlinux.o: dummy
+GENFILES := include/linux/version.h include/linux/compile.h $(foreach dirname, $(CORE_FILES_NO_BTFIX), _dir_$(dir $(dirname)))
+.PHONY : $(GENFILES)
+GENFILES += $(BTOBJS)
+
+$(GENFILES) :
+ $(MAKE) -C $(TOPDIR) $@
+
+vmlinux.o: $(GENFILES)
$(LD) -r $(patsubst %,$(TOPDIR)/%,$(BTOBJS)) \
--start-group \
$(patsubst %,$(TOPDIR)/%,$(BTLIBS)) \
--
Keith M Wesolowski
next prev parent reply other threads:[~2004-08-20 21:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
2004-08-20 20:59 ` William Lee Irwin III
2004-08-20 21:05 ` David S. Miller
2004-08-20 21:05 ` Ciaran McCreesh
2004-08-20 21:07 ` Keith M Wesolowski [this message]
2004-08-20 21:13 ` William Lee Irwin III
2004-08-20 22:00 ` C.Newport
2004-08-20 22:19 ` Joshua Kwan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040820210749.GA14507@foobazco.org \
--to=wesolows@foobazco.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.