[patch] remove obsolete HEAD in kbuild
From: Coywolf Qi Hunt
Date: Sun Aug 15 2004 - 21:08:06 EST
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@xxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/