summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-05-23 07:45:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-25 22:36:09 +0100
commita93e743e2194085307a9b1a3fccc36004f7ba63c (patch)
tree7a6e0e1c9160e1414c30f71f0bbc70bfa9046e29 /meta/recipes-core
parent33d1dbeebadc4b3ec69b81d0fd1d23aabfc26c49 (diff)
downloadpoky-a93e743e2194085307a9b1a3fccc36004f7ba63c.tar.gz
glibc: Enable memory tagging for aarch64
Glibc on aarch64 has a memory tagging option that can be enabled via GLIBC_TUNABLES="glibc.mem.tagging=$SOMETHING" when glibc is built with memory tagging support and the kernel/HW supports MTE. There should be no side effects unless the user turns it on with approprate HW support Linux 5.4 headers and binutils 2.33.1 or newer is needed. (From OE-Core rev: f6521f85f783dc7565eb0c0046de59aa945423e5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glibc/glibc_2.33.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.33.bb b/meta/recipes-core/glibc/glibc_2.33.bb
index 6bdfdfcd4a..b70cd0978a 100644
--- a/meta/recipes-core/glibc/glibc_2.33.bb
+++ b/meta/recipes-core/glibc/glibc_2.33.bb
@@ -90,6 +90,7 @@ EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
90 90
91EXTRA_OECONF_append_x86 = " --enable-cet" 91EXTRA_OECONF_append_x86 = " --enable-cet"
92EXTRA_OECONF_append_x86-64 = " --enable-cet" 92EXTRA_OECONF_append_x86-64 = " --enable-cet"
93EXTRA_OECONF_append_aarch64 = " --enable-memory-tagging"
93 94
94PACKAGECONFIG ??= "nscd" 95PACKAGECONFIG ??= "nscd"
95PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd" 96PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd"