Hi Ropbert,

On Wed, Aug 11, 2004 at 08:49:53PM +0200, Robert Staudinger wrote:
> Wolfi, 
> 
> thanks for the info.
> Isn't there a workaround for 2.6.7? I mean, how are the original kernels
> built?
> BTW, did you attach the patch? Maybe it got stripped off by the
> mailserver.
> 
Here is the patch. I don't know about a workaround. Perhaps the
combination of binutils/gcc allowed compiling when the packages were
uploaded. But I don't know any further.
BTW, the thread were this came up is archived at
http://marc.theaimsgroup.com/?l=linux-ppc&m=109103103709703&w=2

With best regards,

Wolfi
Signed-off-by: Tom Rini <[EMAIL PROTECTED]>

===== arch/ppc/Makefile 1.57 vs edited =====
--- 1.57/arch/ppc/Makefile      2004-07-28 21:58:36 -07:00
+++ edited/arch/ppc/Makefile    2004-07-29 12:21:33 -07:00
@@ -22,7 +22,7 @@

 LDFLAGS_vmlinux        := -Ttext $(KERNELLOAD) -Bstatic
 CPPFLAGS       += -Iarch/$(ARCH)
-AFLAGS         += -Iarch/$(ARCH)
+aflags-y       += -Iarch/$(ARCH)
 cflags-y       += -Iarch/$(ARCH) -msoft-float -pipe \
                -ffixed-r2 -Wno-uninitialized -mmultiple
 CPP            = $(CC) -E $(CFLAGS)
@@ -33,10 +33,16 @@
 cflags-y       += -mstring
 endif

+aflags-$(CONFIG_4xx)           += -m405
 cflags-$(CONFIG_4xx)           += -Wa,-m405
+aflags-$(CONFIG_6xx)           += -maltivec
+cflags-$(CONFIG_6xx)           += -Wa,-maltivec
+aflags-$(CONFIG_E500)          += -me500
 cflags-$(CONFIG_E500)          += -Wa,-me500
+aflags-$(CONFIG_PPC64BRIDGE)   += -mppc64bridge
 cflags-$(CONFIG_PPC64BRIDGE)   += -Wa,-mppc64bridge

+AFLAGS += $(aflags-y)
 CFLAGS += $(cflags-y)

 head-y                         := arch/ppc/kernel/head.o

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

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to