linux 2.6.12-rc1-bk5 compilation error

Tom Rini trini at kernel.crashing.org
Fri Apr 8 03:10:26 EST 2005


On Mon, Apr 04, 2005 at 11:32:39AM +0100, Jerome Glisse wrote:

> Once again i face an error that i got with a previous
> 2.6 kernel (i already posted about this in january
> i think).
[snip]
> Anyway what puzzle me is that it seems i am the
> only one to face this ? Am i alone :) ?

I think you're the only person building a zImage for a 32bit kernel with
a 64bit toolchain for MULTIPLATFORM, yes. :)

This is a valid problem, however.  Does the following also work for you?

Signed-off-by: Tom Rini <trini at kernel.crashing.org>

Index: linux-2.6.10/arch/ppc/boot/simple/Makefile
===================================================================
--- linux-2.6.10.orig/arch/ppc/boot/simple/Makefile
+++ linux-2.6.10/arch/ppc/boot/simple/Makefile
@@ -118,10 +118,13 @@ zimageinitrd-$(pcore)			:= zImage.initrd
          end-$(pcore)			:= pcore
    cacheflag-$(pcore)			:= -include $(clear_L2_L3)
 
+# Really only valid if CONFIG_6xx=y
       zimage-$(CONFIG_PPC_PREP)		:= zImage-PPLUS
 zimageinitrd-$(CONFIG_PPC_PREP)		:= zImage.initrd-PPLUS
+ifeq ($(CONFIG_6xx),y)
      extra.o-$(CONFIG_PPC_PREP)		:= prepmap.o
         misc-$(CONFIG_PPC_PREP)		+= misc-prep.o mpc10x_memory.o
+endif
          end-$(CONFIG_PPC_PREP)		:= prep
 
          end-$(CONFIG_SANDPOINT)	:= sandpoint

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-dev mailing list