Re: [patch] remove obsolete HEAD in kbuild

From: Coywolf Qi Hunt
Date: Mon Aug 16 2004 - 23:12:47 EST


Sam Ravnborg wrote:

On Mon, Aug 16, 2004 at 10:06:34AM +0800, Coywolf Qi Hunt wrote:


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/



When you remove assignment to HEAD you need to replace it with assignment to head-y.


No, we needn't. Some archs do not have head-y. They use core-y for head.o .


--
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/