diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2018-05-25 08:56:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-02 21:37:47 +0100 |
commit | 830880a6888270e047271137f43a643b218050d4 (patch) | |
tree | 1462f71f3361d3c66300a87f064390c8d5e5bf81 /meta | |
parent | 9f3eca4c80807ecdb64076a6705ef1134173fc22 (diff) | |
download | poky-830880a6888270e047271137f43a643b218050d4.tar.gz |
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.
(From OE-Core rev: e999816fec19750c4885e99930113bac21c225c0)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 97f7ea9dbe..1ebfb606da 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}" | |||
28 | 28 | ||
29 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" | 29 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" |
30 | 30 | ||
31 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" | ||
32 | |||
31 | # A KMACHINE is the mapping of a yocto $MACHINE to what is built | 33 | # A KMACHINE is the mapping of a yocto $MACHINE to what is built |
32 | # by the kernel. This is typically the branch that should be built, | 34 | # by the kernel. This is typically the branch that should be built, |
33 | # and it can be specific to the machine or shared | 35 | # and it can be specific to the machine or shared |