summaryrefslogtreecommitdiff
path: root/profiles/arch/ppc
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-07-18 20:52:04 -0500
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-07-18 20:52:04 -0500
commit6116a0c8ad8d0bea625afa0ebbb14fa133c1674b (patch)
treeaf5570a89a0d2967c84fabc1b77039f4a47703ba /profiles/arch/ppc
parente636bd81d1aaeb31ced68c3106960fd2de97f0ae (diff)
downloadpackages-6116a0c8ad8d0bea625afa0ebbb14fa133c1674b.tar.gz
packages-6116a0c8ad8d0bea625afa0ebbb14fa133c1674b.tar.bz2
packages-6116a0c8ad8d0bea625afa0ebbb14fa133c1674b.tar.xz
packages-6116a0c8ad8d0bea625afa0ebbb14fa133c1674b.zip
Initial PowerPC profile
Diffstat (limited to 'profiles/arch/ppc')
-rw-r--r--profiles/arch/ppc/make.defaults28
1 files changed, 27 insertions, 1 deletions
diff --git a/profiles/arch/ppc/make.defaults b/profiles/arch/ppc/make.defaults
index c07272555..ce2e6bc5f 100644
--- a/profiles/arch/ppc/make.defaults
+++ b/profiles/arch/ppc/make.defaults
@@ -1 +1,27 @@
-ARCH=ppc
+CHOST="powerpc-foxkit-linux-musl"
+
+# We definitely use 32-bit ABI.
+ABI_PPC="32"
+IUSE_IMPLICIT="abi_ppc_32"
+
+ARCH="ppc"
+ACCEPT_KEYWORDS="${ARCH}"
+
+# -O2 -> Perform second-level optimisations.
+# Not -Os because most/all PPC aren't starved for space.
+# -ggdb -> Generate GDB debugging information.
+# This is used with splitdebug to make -dbg split packages.
+# -mcpu=7450 -> Require a 7450 or higher, or "G4".
+# 700/G3 uses the g3 profile, overriding this.
+# 600 series is not supported by Adélie.
+# -maltivec. -> Use AltiVec floating point extensions.
+#. These are always available on 7450+.
+# -fno-omit-... -> Never omit the frame pointer.
+# This is crucial for proper debugging.
+# -mfpu=dp_full -> Use hardware for floating point math.
+CFLAGS="-O2 -mlong-double-64 " #-ggdb -mcpu=7450 -maltivec -fno-omit-frame-pointer -mfpu=dp_full"
+CXXFLAGS="${CFLAGS}"
+
+ELIBC="musl"
+
+USE="altivec pam threads"