summaryrefslogtreecommitdiff
path: root/profiles/arch/sparc/make.defaults
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /profiles/arch/sparc/make.defaults
reinit the tree, so we can have metadata
Diffstat (limited to 'profiles/arch/sparc/make.defaults')
-rw-r--r--profiles/arch/sparc/make.defaults45
1 files changed, 45 insertions, 0 deletions
diff --git a/profiles/arch/sparc/make.defaults b/profiles/arch/sparc/make.defaults
new file mode 100644
index 000000000000..7abf4172ffee
--- /dev/null
+++ b/profiles/arch/sparc/make.defaults
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+ARCH="sparc"
+ACCEPT_KEYWORDS="${ARCH}"
+
+# 64bit kernel, 32bit userland
+CHOST="sparc-unknown-linux-gnu"
+PROFILE_ARCH="sparc64"
+
+# We need sparc64 binutils for linux-headers
+CTARGETS_BINUTILS="sparc-unknown-linux-gnu sparc64-unknown-linux-gnu"
+
+# The funky stuffs for handling different kernel compiler than userland compiler
+KERNEL_ABI="sparc64"
+CHOST_sparc64="sparc64-unknown-linux-gnu"
+LDFLAGS_sparc64="-m elf64_sparc"
+
+# Multilib stuff
+MULTILIB_ABIS="sparc32"
+DEFAULT_ABI="sparc32"
+ABI="${DEFAULT_ABI}"
+CFLAGS_sparc32="" # 32 bit is the default, so no need to set it.
+LDFLAGS_sparc32="" # setting it would make gcc use -m32 and -m64 at the same time
+CHOST_sparc32="sparc-unknown-linux-gnu"
+CTARGET_sparc32="sparc-unknown-linux-gnu"
+# do NOT set CFLAGS_sparc64 here it'd break linux-headers for non-multilib
+# profiles
+
+# Compiler flags
+CFLAGS="-O2 -mcpu=ultrasparc -pipe"
+CXXFLAGS="${CFLAGS}"
+
+# These are here to override features/32bit-userland's settings. DO NOT REMOVE!
+FEATURES="-multilib-strict"
+MULTILIB_STRICT_DIRS="/lib32 /usr/lib32 /usr/kde/*/lib32 /usr/qt/*/lib32 /usr/X11R6/lib32"
+
+# 2006/10/05 - Gustavo Zacarias <gustavoz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 \
+ suncg6 sunffb sunleo tdfx voodoo"
+
+# Hans de Graaff <graaff@gentoo.org> (17 Apr 2017)
+# Temporary entry to support stable bug 615818
+RUBY_TARGETS="ruby21"