summaryrefslogtreecommitdiff
path: root/profiles/arch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-01 04:19:55 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-01 04:19:55 -0500
commitd32d99bd7e3872afd4a5ca8f55b18748336db84b (patch)
tree7cc0680b68bc439a07b610d03bed867ee75d4f1c /profiles/arch
parent8cb0f3fa8f714fa746096a8299aafa6d968f2c8b (diff)
downloadpackages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.tar.gz
packages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.tar.bz2
packages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.tar.xz
packages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.zip
Profiles: Add i525 profile
Diffstat (limited to 'profiles/arch')
-rw-r--r--profiles/arch/x86/i525/make.defaults15
-rw-r--r--profiles/arch/x86/i525/parent1
-rw-r--r--profiles/arch/x86/make.defaults11
-rw-r--r--profiles/arch/x86/use.mask1
4 files changed, 27 insertions, 1 deletions
diff --git a/profiles/arch/x86/i525/make.defaults b/profiles/arch/x86/i525/make.defaults
new file mode 100644
index 000000000..a0b5e2df7
--- /dev/null
+++ b/profiles/arch/x86/i525/make.defaults
@@ -0,0 +1,15 @@
+CHOST="pentium3-foxkit-linux-musl"
+
+# -O2 -> Perform second-level optimisations.
+# Not -Os because most/all x86 aren't starved for space.
+# -ggdb -> Generate GDB debugging information.
+# This is used with splitdebug to make -dbg split packages.
+# -march=pen... -> Require a Pentium III or newer.
+# -mtune=pen... -> Tune for Pentium M processors.
+# More Pentium M netbooks exist than many realise, and they
+# are more likely users of Adélie than Pentium III. This
+# makes code more performant on the larger base of machines.
+# -mfpmath=sse -> Use SSE for all floating point math.
+# Since SSE is always available, this knob ensures that GCC
+# will take advantage of it over preferring 387 math.
+CFLAGS="-O2 -ggdb -march=pentium3 -mtune=pentium-m -mfpmath=sse"
diff --git a/profiles/arch/x86/i525/parent b/profiles/arch/x86/i525/parent
new file mode 100644
index 000000000..f3229c5b9
--- /dev/null
+++ b/profiles/arch/x86/i525/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/x86/make.defaults b/profiles/arch/x86/make.defaults
index 8cc538311..258cf16e7 100644
--- a/profiles/arch/x86/make.defaults
+++ b/profiles/arch/x86/make.defaults
@@ -1 +1,10 @@
-ARCH=x86
+# CHOST is defined in each subarch.
+
+# We definitely use 32-bit ABI.
+ABI_X86="32"
+IUSE_IMPLICIT="abi_x86_32"
+
+ARCH="x86"
+ACCEPT_KEYWORDS="x86"
+
+USE="pam threads"
diff --git a/profiles/arch/x86/use.mask b/profiles/arch/x86/use.mask
new file mode 100644
index 000000000..db7ada688
--- /dev/null
+++ b/profiles/arch/x86/use.mask
@@ -0,0 +1 @@
+abi_x86_64