summaryrefslogtreecommitdiff
path: root/profiles/base/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/base/cpu')
-rw-r--r--profiles/base/cpu/amd/eapi1
-rw-r--r--profiles/base/cpu/amd/make.defaults3
-rw-r--r--profiles/base/cpu/amd/package.use1
-rw-r--r--profiles/base/cpu/amd/parent1
-rw-r--r--profiles/base/cpu/eapi1
-rw-r--r--profiles/base/cpu/intel/eapi1
-rw-r--r--profiles/base/cpu/intel/i7/eapi1
-rw-r--r--profiles/base/cpu/intel/i7/make.defaults2
-rw-r--r--profiles/base/cpu/intel/i7/parent1
-rw-r--r--profiles/base/cpu/intel/make.defaults2
-rw-r--r--profiles/base/cpu/intel/package.use6
-rw-r--r--profiles/base/cpu/intel/packages2
-rw-r--r--profiles/base/cpu/intel/parent1
-rw-r--r--profiles/base/cpu/make.defaults2
-rw-r--r--profiles/base/cpu/package.use6
-rw-r--r--profiles/base/cpu/packages26
-rw-r--r--profiles/base/cpu/parent1
17 files changed, 58 insertions, 0 deletions
diff --git a/profiles/base/cpu/amd/eapi b/profiles/base/cpu/amd/eapi
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/profiles/base/cpu/amd/eapi
@@ -0,0 +1 @@
+7
diff --git a/profiles/base/cpu/amd/make.defaults b/profiles/base/cpu/amd/make.defaults
new file mode 100644
index 0000000..5e81b49
--- /dev/null
+++ b/profiles/base/cpu/amd/make.defaults
@@ -0,0 +1,3 @@
+# vim:ft=gentoo-make-conf
+# This applies at least for Ryzen 1800x and 2700x
+CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
diff --git a/profiles/base/cpu/amd/package.use b/profiles/base/cpu/amd/package.use
new file mode 100644
index 0000000..8f41fa9
--- /dev/null
+++ b/profiles/base/cpu/amd/package.use
@@ -0,0 +1 @@
+sys-kernel/linux amd
diff --git a/profiles/base/cpu/amd/parent b/profiles/base/cpu/amd/parent
new file mode 100644
index 0000000..eb4d905
--- /dev/null
+++ b/profiles/base/cpu/amd/parent
@@ -0,0 +1 @@
+../
diff --git a/profiles/base/cpu/eapi b/profiles/base/cpu/eapi
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/profiles/base/cpu/eapi
@@ -0,0 +1 @@
+7
diff --git a/profiles/base/cpu/intel/eapi b/profiles/base/cpu/intel/eapi
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/profiles/base/cpu/intel/eapi
@@ -0,0 +1 @@
+7
diff --git a/profiles/base/cpu/intel/i7/eapi b/profiles/base/cpu/intel/i7/eapi
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/profiles/base/cpu/intel/i7/eapi
@@ -0,0 +1 @@
+7
diff --git a/profiles/base/cpu/intel/i7/make.defaults b/profiles/base/cpu/intel/i7/make.defaults
new file mode 100644
index 0000000..abe68c2
--- /dev/null
+++ b/profiles/base/cpu/intel/i7/make.defaults
@@ -0,0 +1,2 @@
+# vim:ft=gentoo-make-conf
+CPU_FLAGS_X86="$CPU_FLAGS_X86 f16c pclmul"
diff --git a/profiles/base/cpu/intel/i7/parent b/profiles/base/cpu/intel/i7/parent
new file mode 100644
index 0000000..eb4d905
--- /dev/null
+++ b/profiles/base/cpu/intel/i7/parent
@@ -0,0 +1 @@
+../
diff --git a/profiles/base/cpu/intel/make.defaults b/profiles/base/cpu/intel/make.defaults
new file mode 100644
index 0000000..cf152c8
--- /dev/null
+++ b/profiles/base/cpu/intel/make.defaults
@@ -0,0 +1,2 @@
+# vim:ft=gentoo-make-conf
+CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
diff --git a/profiles/base/cpu/intel/package.use b/profiles/base/cpu/intel/package.use
new file mode 100644
index 0000000..d521a9e
--- /dev/null
+++ b/profiles/base/cpu/intel/package.use
@@ -0,0 +1,6 @@
+# Linux intel configuration
+sys-kernel/linux intel
+
+# Intel microcode update
+sys-firmware/intel-microcode initramfs
+sys-kernel/linux ucode
diff --git a/profiles/base/cpu/intel/packages b/profiles/base/cpu/intel/packages
new file mode 100644
index 0000000..29f936a
--- /dev/null
+++ b/profiles/base/cpu/intel/packages
@@ -0,0 +1,2 @@
+sys-firmware/intel-microcode
+sys-apps/iucode_tool
diff --git a/profiles/base/cpu/intel/parent b/profiles/base/cpu/intel/parent
new file mode 100644
index 0000000..eb4d905
--- /dev/null
+++ b/profiles/base/cpu/intel/parent
@@ -0,0 +1 @@
+../
diff --git a/profiles/base/cpu/make.defaults b/profiles/base/cpu/make.defaults
new file mode 100644
index 0000000..19da33d
--- /dev/null
+++ b/profiles/base/cpu/make.defaults
@@ -0,0 +1,2 @@
+# vim:ft=gentoo-make-conf
+CHOST="x86_64-pc-linux-gnu"
diff --git a/profiles/base/cpu/package.use b/profiles/base/cpu/package.use
new file mode 100644
index 0000000..48abed1
--- /dev/null
+++ b/profiles/base/cpu/package.use
@@ -0,0 +1,6 @@
+# myinitramfs
+sys-kernel/linux initramfs
+sys-apps/busybox static
+
+# We use xz compressed modules so we have to have support for it
+sys-apps/kmod lzma
diff --git a/profiles/base/cpu/packages b/profiles/base/cpu/packages
new file mode 100644
index 0000000..718118b
--- /dev/null
+++ b/profiles/base/cpu/packages
@@ -0,0 +1,26 @@
+app-portage/cpuid2cpuflags
+
+# Always use initramfs
+sys-boot/myinitramfs
+
+# Drives
+sys-apps/hdparm
+sys-apps/smartmontools
+sys-fs/cryptsetup
+
+# FS
+sys-block/parted
+sys-fs/btrfs-progs
+sys-fs/dosfstools
+sys-fs/exfat-utils
+sys-fs/fuse-exfat
+sys-fs/f2fs-tools
+
+# Linux
+sys-boot/efibootmgr
+sys-boot/syslinux
+sys-kernel/linux
+sys-kernel/linux-firmware
+
+# Periphery
+sys-apps/usbutils
diff --git a/profiles/base/cpu/parent b/profiles/base/cpu/parent
new file mode 100644
index 0000000..eb4d905
--- /dev/null
+++ b/profiles/base/cpu/parent
@@ -0,0 +1 @@
+../