summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/config.in1
-rw-r--r--arch/powerpc/functions9
-rw-r--r--config/target.in8
-rw-r--r--docs/CREDITS3
4 files changed, 21 insertions, 0 deletions
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!