From: Sam Ravnborg <sam@ravnborg.org>
To: Bernd Eckenfels <be-mail2004@lina.inka.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Remove obsolete HEAD in top Makefile
Date: Sun, 15 Aug 2004 20:03:20 +0200 [thread overview]
Message-ID: <20040815180320.GD7265@mars.ravnborg.org> (raw)
In-Reply-To: <20040815141342.GB30572@lina.inka.de>
On Sun, Aug 15, 2004 at 04:13:42PM +0200, Bernd Eckenfels wrote:
> On Sun, Aug 15, 2004 at 08:36:47PM +0800, Coywolf Qi Hunt wrote:
> > >iff it is not using it you need to remove it in the next line, too.
> > Nah, I'm only removing HEAD, not head-y. :p
>
> If you remove this line:
> head-y += $(HEAD)
>
> then head-y is undefined, and could therefore be removed, too. I dont know
> what HEAD was used for, and where does it come from. But since the 2.4 code
> uses head in a compareable way (i.e. only in that location with toetally
> differen s tructure) I am not sure if it is not needed.
>
> Can you explain what it was used for and why it can be removed now?
HEAD got replaced with head-y sometime in 2.5.
It's about time to rip out the last bits.
About head-y:
>From Documentation/kbuild/makefiles.txt:
The very first objects linked are listed in head-y, assigned by
arch/$(ARCH)/Makefile.
And later:
head-y, init-y, core-y, libs-y, drivers-y, net-y
$(head-y) list objects to be linked first in vmlinux.
$(libs-y) list directories where a lib.a archive can be located.
The rest list directories where a built-in.o object file can be located.
$(init-y) objects will be located after $(head-y).
Then the rest follows in this order:
$(core-y), $(libs-y), $(drivers-y) and $(net-y).
Sam
next prev parent reply other threads:[~2004-08-15 18:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-15 10:26 [PATCH] Remove obsolete HEAD in top Makefile Coywolf Qi Hunt
2004-08-15 12:07 ` Bernd Eckenfels
2004-08-15 12:36 ` Coywolf Qi Hunt
2004-08-15 14:13 ` Bernd Eckenfels
2004-08-15 18:03 ` Sam Ravnborg [this message]
2004-08-15 17:49 ` Sam Ravnborg
2004-08-16 2:06 ` [patch] remove obsolete HEAD in kbuild Coywolf Qi Hunt
2004-08-16 20:52 ` Sam Ravnborg
2004-08-17 4:11 ` Coywolf Qi Hunt
2004-08-17 21:12 ` Sam Ravnborg
2004-08-18 5:09 ` Coywolf Qi Hunt
2004-08-18 21:10 ` Sam Ravnborg
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=20040815180320.GD7265@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=be-mail2004@lina.inka.de \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox