lkml.org 
[lkml]   [2004]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] remove obsolete HEAD in kbuild
Sam Ravnborg wrote:

>On Sun, Aug 15, 2004 at 06:26:16PM +0800, Coywolf Qi Hunt wrote:
>
>
>>Hi,
>>
>>This removes an obsolete variable in the top Makefile. It is used in 2.4
>>Makefile.
>>Now the 2.6 kbuild is no longer using it. I have tested it.
>>
>>
>
>find -name 'Makefile*' | xargs grep HEAD
>identify one user: cris.
>
>Please resend patch with removal in arch/cris/Makefile.
>
Signed-off-by: Coywolf Qi Hunt <coywolf@greatcn.org>

Makefile | 1 -
arch/cris/Makefile | 2 --
2 files changed, 3 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.673278888 -0400
+++ linux-2.6.8-cy/arch/cris/Makefile 2004-08-15 20:59:30.109679014 -0400
@@ -39,8 +39,6 @@ CFLAGS := $(subst -fomit-frame-pointer,,
CFLAGS += -fno-omit-frame-pointer
endif

-HEAD := arch/$(ARCH)/$(SARCH)/kernel/head.o
-
LIBGCC = $(shell $(CC) $(CFLAGS) -print-file-name=libgcc.a)

core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/

--
Coywolf Qi Hunt
Homepage http://greatcn.org/~coywolf/
Admin of http://GreatCN.org and http://LoveCN.org

-
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.152 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site