From d32d99bd7e3872afd4a5ca8f55b18748336db84b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 1 Aug 2016 04:19:55 -0500 Subject: Profiles: Add i525 profile --- profiles/arch/x86/i525/make.defaults | 15 +++++++++++++++ profiles/arch/x86/i525/parent | 1 + profiles/arch/x86/make.defaults | 11 ++++++++++- profiles/arch/x86/use.mask | 1 + 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 profiles/arch/x86/i525/make.defaults create mode 100644 profiles/arch/x86/i525/parent create mode 100644 profiles/arch/x86/use.mask (limited to 'profiles/arch') 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 -- cgit v1.2.3-60-g2f50