[OE-core] [PATCH] recipes-kernel/linux: Enable NUMA Kconfig from MACHINE_FEATURES
Alistair Francis
alistair23 at gmail.com
Tue Jun 19 18:09:24 UTC 2018
On Fri, May 25, 2018 at 8:56 AM, Alistair Francis
<alistair.francis at wdc.com> wrote:
> If the user has set numa in their MACHINE_FEATURES we should enable
> NUMA support in the kernel config.
>
> Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
> Acked-by: Bruce Ashfield <bruce.ashfield at windriver.com>
Ping!
Alistair
> ---
> meta/recipes-kernel/linux/linux-yocto.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
> index 3bb872a32a..a8ac237656 100644
> --- a/meta/recipes-kernel/linux/linux-yocto.inc
> +++ b/meta/recipes-kernel/linux/linux-yocto.inc
> @@ -28,6 +28,8 @@ KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}"
>
> KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc"
>
> +KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"
> +
> # A KMACHINE is the mapping of a yocto $MACHINE to what is built
> # by the kernel. This is typically the branch that should be built,
> # and it can be specific to the machine or shared
> --
> 2.17.0
>
More information about the Openembedded-core
mailing list