These get effectively disabled on other archs and cause warnings from merge_config.sh.
Signed-off-by: Mikko Rapeli <[email protected]> --- features/numa/numa.cfg | 1 - features/numa/numa.scc | 4 ++++ features/numa/numa_x86_64.cfg | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 features/numa/numa_x86_64.cfg diff --git a/features/numa/numa.cfg b/features/numa/numa.cfg index 2cf4bae2d3ae..2cb872a75ed4 100644 --- a/features/numa/numa.cfg +++ b/features/numa/numa.cfg @@ -2,7 +2,6 @@ CONFIG_NUMA=y CONFIG_NUMA_BALANCING=y CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y -CONFIG_X86_64_ACPI_NUMA=y CONFIG_NUMA_EMU=y CONFIG_NODES_SHIFT=6 CONFIG_USE_PERCPU_NUMA_NODE_ID=y diff --git a/features/numa/numa.scc b/features/numa/numa.scc index 854998b1b026..a53a68c23bee 100644 --- a/features/numa/numa.scc +++ b/features/numa/numa.scc @@ -2,3 +2,7 @@ define KFEATURE_DESCRIPTION "Enable numa support" kconf hardware numa.cfg + +if [ "$KARCH" = "x86_64" ]; then + kconf hardware numa_x86_64.cfg +fi diff --git a/features/numa/numa_x86_64.cfg b/features/numa/numa_x86_64.cfg new file mode 100644 index 000000000000..931c46e92040 --- /dev/null +++ b/features/numa/numa_x86_64.cfg @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: MIT +CONFIG_X86_64_ACPI_NUMA=y -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16143): https://lists.yoctoproject.org/g/linux-yocto/message/16143 Mute This Topic: https://lists.yoctoproject.org/mt/117176761/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
