[oe-commits] [openembedded-core] 06/13: recipes-kernel/linux: Enable NUMA Kconfig from MACHINE_FEATURES

git at git.openembedded.org git at git.openembedded.org
Mon Jul 2 09:22:33 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e999816fec19750c4885e99930113bac21c225c0
Author: Alistair Francis <alistair.francis at wdc.com>
AuthorDate: Fri May 25 08:56:36 2018 -0700

    recipes-kernel/linux: Enable NUMA Kconfig from MACHINE_FEATURES
    
    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>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 97f7ea9..1ebfb60 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list