Commit:     60e417536bca8988d22ea1cc20a634ffa67bb2a8
Parent:     5b825831858b92da2417ecb3e3bbde594e5f7c91
Author:     Josh Boyer <[EMAIL PROTECTED]>
AuthorDate: Thu May 17 04:51:37 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu May 17 21:11:19 2007 +1000

    [POWERPC] Pass per-file CFLAGs for platform specific op codes
    As a result of compiling all of the wrapper files for every platform
    now, the kernel build can fail for toolchains that don't support various
    op codes by default.  An example of this building a 7xx platform with
    the ELD4.0 toolchain, is below:
    /tmp/ccYjhJoL.s: Assembler messages:
    /tmp/ccYjhJoL.s:42: Error: Unrecognized opcode: `mtdcr'
    /tmp/ccYjhJoL.s:43: Error: Unrecognized opcode: `mfdcr'
    make[1]: *** [arch/powerpc/boot/44x.o] Error 1
    The following patch introduces additional CFLAGS for the 4xx specific
    files and fixes the kernel compile.
    Signed-off-by: Josh Boyer <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/boot/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index b0b5705..8378898 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -33,6 +33,9 @@ endif
 BOOTCFLAGS     += -I$(obj) -I$(srctree)/$(obj)
+$(obj)/44x.o: BOOTCFLAGS += -Wa,-mbooke
+$(obj)/ebony.o: BOOTCFLAGS += -Wa,-mbooke
 zlib       := inffast.c inflate.c inftrees.c
 zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h
 zliblinuxheader := zlib.h zconf.h zutil.h
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to