From db55511ac249aa3bd143fad90f52918a1a4343ac Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 18 May 2008 20:50:13 +0000 Subject: PowerPC support by Daniel Dittmann. /trunk/docs/CREDITS | 3 3 0 0 +++ /trunk/config/target.in | 8 8 0 0 ++++++++ /trunk/arch/powerpc/functions | 9 9 0 0 +++++++++ /trunk/arch/powerpc/config.in | 1 1 0 0 + 4 files changed, 21 insertions(+) diff --git a/arch/powerpc/config.in b/arch/powerpc/config.in new file mode 100644 index 0000000..5cfe4ce --- /dev/null +++ b/arch/powerpc/config.in @@ -0,0 +1 @@ +# powerpc specific configuration file diff --git a/arch/powerpc/functions b/arch/powerpc/functions new file mode 100644 index 0000000..9ad0304 --- /dev/null +++ b/arch/powerpc/functions @@ -0,0 +1,9 @@ +# Compute powerpc-specific values + +CT_DoArchValues () { + # The architecture part of the tuple: + CT_TARGET_ARCH="${CT_ARCH}" + + # The kernel ARCH: + CT_KERNEL_ARCH=powerpc +} diff --git a/config/target.in b/config/target.in index 256843f..f210e0e 100644 --- a/config/target.in +++ b/config/target.in @@ -9,6 +9,7 @@ config ARCH default "arm" if ARCH_ARM default "ia64" if ARCH_IA64 default "mips" if ARCH_MIPS + default "powerpc" if ARCH_PPC default "sh" if ARCH_SH default "x86" if ARCH_x86 default "x86_64" if ARCH_x86_64 @@ -36,6 +37,10 @@ config ARCH_MIPS select ARCH_SUPPORTS_BOTH_ENDIAN select ARCH_DEFAULT_BE +config ARCH_PPC + bool + prompt "powerpc" + config ARCH_SH bool prompt "sh (EXPERIMENTAL)" @@ -92,6 +97,9 @@ endif if ARCH_MIPS source config/arch/mips/config.in endif +if ARCH_PPC +source config/arch/powerpc/config.in +endif if ARCH_SH source config/arch/sh/config.in endif diff --git a/docs/CREDITS b/docs/CREDITS index f1ea922..dd5afd1 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -46,6 +46,9 @@ And in order of appearance on the crossgcc ML: Matthias Kaehlcke: - fix building glibc-2.7 (and 2.6.1) with newer kernels + Daniel Dittmann: + - PowerPC support + Many others have contributed, either in form of patches, suggestions, comments, or testing... Thank you to all of you! -- cgit v0.10.2-6-g49f6