# HG changeset patch # User "Yann E. MORIN" # Date 1211143813 0 # Node ID 9c6df3bf0c7a1894f48c3e9773d0b1b9a5652b7d # Parent d5a34b1101800856e36bf02acd10ed45a73d2158 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 -r d5a34b110180 -r 9c6df3bf0c7a arch/powerpc/config.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arch/powerpc/config.in Sun May 18 20:50:13 2008 +0000 @@ -0,0 +1,1 @@ +# powerpc specific configuration file diff -r d5a34b110180 -r 9c6df3bf0c7a arch/powerpc/functions --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arch/powerpc/functions Sun May 18 20:50:13 2008 +0000 @@ -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 -r d5a34b110180 -r 9c6df3bf0c7a config/target.in --- a/config/target.in Sun May 18 15:31:17 2008 +0000 +++ b/config/target.in Sun May 18 20:50:13 2008 +0000 @@ -9,6 +9,7 @@ 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 @@ 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 @@ 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 -r d5a34b110180 -r 9c6df3bf0c7a docs/CREDITS --- a/docs/CREDITS Sun May 18 15:31:17 2008 +0000 +++ b/docs/CREDITS Sun May 18 20:50:13 2008 +0000 @@ -46,6 +46,9 @@ 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!