From: Coywolf Qi Hunt <coywolf@greatcn.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: akpm@osdl.org, kai@tp1.ruhr-uni-bochum.de, linux-kernel@vger.kernel.org
Subject: Re: [patch] remove obsolete HEAD in kbuild
Date: Wed, 18 Aug 2004 13:09:11 +0800 [thread overview]
Message-ID: <4122E477.4010601@greatcn.org> (raw)
In-Reply-To: <20040817211258.GA20246@mars.ravnborg.org>
Sam Ravnborg wrote:
>On Tue, Aug 17, 2004 at 12:11:14PM +0800, Coywolf Qi Hunt wrote:
>
>
>>No, we needn't. Some archs do not have head-y. They use core-y for head.o .
>>
>>
Sorry for my wrongness.
I felt _quit_ sure when I was saying that stupidity in the morning when
I just woke up.
I was hesitating to look into it, but I didn't. It seemed so real to me
then.
Maybe I dreamed I found that. It's possible for one who thinks of kernel
issuses day to day.
What a shame. I nearly break kbuild on cris. :-(
>Looked and could not find it...
>Adding head.o to extra-y does not get it compiled in.
>To compile it in it needs to be listed in obj-y, and do not
>confuse the three different head.S files.
>
> Sam
>
Makefile: remove obsolete HEAD
arch/cris/Makefile: replace HEAD with assignment to head-y
Signed-off-by: Coywolf Qi Hunt <coywolf@greatcn.org>
Makefile | 1 -
arch/cris/Makefile | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff -Nrup linux-2.6.8/Makefile linux-2.6.8-cy/Makefile
--- linux-2.6.8/Makefile 2004-08-15 05:46:21.000000000 -0400
+++ linux-2.6.8-cy/Makefile 2004-08-15 05:46:41.000000000 -0400
@@ -506,7 +506,6 @@ libs-y := $(libs-y1) $(libs-y2)
# normal descending-into-subdirs phase, since at that time
# we cannot yet know if we will need to relink vmlinux.
# So we descend into init/ inside the rule for vmlinux again.
-head-y += $(HEAD)
vmlinux-objs := $(head-y) $(init-y) $(core-y) $(libs-y) $(drivers-y) $(net-y)
quiet_cmd_vmlinux__ = LD $@
diff -Nrup linux-2.6.8/arch/cris/Makefile linux-2.6.8-cy/arch/cris/Makefile
--- linux-2.6.8/arch/cris/Makefile 2004-08-15 20:58:18.000000000 -0400
+++ linux-2.6.8-cy/arch/cris/Makefile 2004-08-17 22:48:39.671201824 -0400
@@ -39,7 +39,7 @@ CFLAGS := $(subst -fomit-frame-pointer,,
CFLAGS += -fno-omit-frame-pointer
endif
-HEAD := arch/$(ARCH)/$(SARCH)/kernel/head.o
+head-y := arch/$(ARCH)/$(SARCH)/kernel/head.o
LIBGCC = $(shell $(CC) $(CFLAGS) -print-file-name=libgcc.a)
--
Coywolf Qi Hunt
Homepage http://greatcn.org/~coywolf/
Admin of http://GreatCN.org and http://LoveCN.org
next prev parent reply other threads:[~2004-08-18 5:10 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
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 [this message]
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=4122E477.4010601@greatcn.org \
--to=coywolf@greatcn.org \
--cc=akpm@osdl.org \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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.