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/adelie/1.0/x86/i525/parent | 2 ++ 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 + profiles/base/make.defaults | 4 +++- profiles/base/package.accept_keywords | 2 ++ profiles/base/package.use | 1 + 8 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 profiles/adelie/1.0/x86/i525/parent 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 diff --git a/profiles/adelie/1.0/x86/i525/parent b/profiles/adelie/1.0/x86/i525/parent new file mode 100644 index 000000000..71235bc8c --- /dev/null +++ b/profiles/adelie/1.0/x86/i525/parent @@ -0,0 +1,2 @@ +../../../../arch/x86/i525 +.. 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 diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index c782eb4a1..29f619fa8 100644 --- a/profiles/base/make.defaults +++ b/profiles/base/make.defaults @@ -8,7 +8,7 @@ USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND" # Tier 1 and Tier 2 only, for now. Consult Platform Group before *ever* changing this. TIER1_ARCH="x86 x86_64 ppc ppc64 mips arm" TIER2_ARCH="alpha arm64 hppa ia64 sparc sparc64" -UNFORTUNATE_STUPID_XORG_EBUILD_ARCH="x86-interix ppc-aix x86-winnt s390 sh x64-macos" +UNFORTUNATE_STUPID_XORG_EBUILD_ARCH="x86-interix ppc-aix x86-winnt s390 sh x64-macos x86-fbsd amd64-fbsd" USE_EXPAND_VALUES_ARCH="${TIER1_ARCH} ${TIER2_ARCH} ${UNFORTUNATE_STUPID_XORG_EBUILD_ARCH}" # We only support these libcs right now. @@ -55,6 +55,8 @@ FETCHCOMMAND="curl -f -L -o \"\${DISTDIR}\"/\"\${FILE}\" \"\${URI}\"" # It can't be overriden in the systemd profile! INSTALL_MASK="/usr/lib/charset.alias" +PORTAGE_TMPDIR="/usr/src" + INPUT_DEVICES="*" VIDEO_CARDS="amdgpu apm ast chips cirrus dummy epson fbdev glint i128 i740 intel mach64 mga neomagic nouveau nv qxl r128 rendition s3 s3virge savage siliconmotion sisusb tdfx tga trident tseng vesa via vmware voodoo" diff --git a/profiles/base/package.accept_keywords b/profiles/base/package.accept_keywords index a8a5477ba..200b4c89b 100644 --- a/profiles/base/package.accept_keywords +++ b/profiles/base/package.accept_keywords @@ -2,6 +2,7 @@ =app-arch/pax-20160306 ** =app-crypt/gnupg-2.1.12-r1 ** =app-eselect/eselect-timezone-0.2 ** +=app-shells/rc-1.7.4 ** =dev-libs/glib-2.48.1 ** =dev-libs/libassuan-2.4.2 ** =dev-libs/libgcrypt-1.7.1 ** @@ -24,6 +25,7 @@