[PATCH] kernel Makefile options for $(AS)
Olaf Hering
olh at suse.de
Wed Jun 2 03:32:34 EST 2004
On Thu, May 27, Alan Modra wrote:
>
> On Thu, May 27, 2004 at 12:56:58AM +0200, Olaf Hering wrote:
> > Is -64 still a valid option for as? Should it be -mppc64?
>
> No, it should be -a64.
pass correct options to $(AS)
diff -p -purN linux-2.6.7-rc2-bk2/arch/ppc64/Makefile linux-2.6.7-rc2-bk2.ppc64/arch/ppc64/Makefile
--- linux-2.6.7-rc2-bk2/arch/ppc64/Makefile 2004-06-01 18:59:19.000000000 +0200
+++ linux-2.6.7-rc2-bk2.ppc64/arch/ppc64/Makefile 2004-06-01 19:01:40.000000000 +0200
@@ -17,7 +17,7 @@ KERNELLOAD := 0xc000000000000000
HAS_BIARCH := $(shell if $(CC) -m64 -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo y; else echo n; fi;)
ifeq ($(HAS_BIARCH),y)
-AS := $(AS) -64
+AS := $(AS) -a64
LD := $(LD) -m elf64ppc
CC := $(CC) -m64
endif
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list