dev-debug/rr: add warning for missing CONFIG_X86_MSR

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-03-09 09:25:00 +00:00
parent b871b11231
commit 7d06a276d4
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 12 additions and 0 deletions

View File

@ -59,6 +59,12 @@ PATCHES=(
pkg_setup() {
if use kernel_linux; then
CONFIG_CHECK="SECCOMP"
if use amd64 ; then
CONFIG_CHECK+=" ~X86_MSR"
WARNING_X86_MSR="X86_MSR is needed for rr-zen_workaround.py (AMD Zen CPUs)"
fi
linux-info_pkg_setup
fi
python-single-r1_pkg_setup

View File

@ -59,6 +59,12 @@ PATCHES=(
pkg_setup() {
if use kernel_linux; then
CONFIG_CHECK="SECCOMP"
if use amd64 ; then
CONFIG_CHECK+=" ~X86_MSR"
WARNING_X86_MSR="X86_MSR is needed for rr-zen_workaround.py (AMD Zen CPUs)"
fi
linux-info_pkg_setup
fi
python-single-r1_pkg_setup