summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2022-08-12 14:43:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-14 08:13:32 +0100
commit6f892f5384ff21977325834ffe4a0ea8e28b2425 (patch)
tree2f498a219d65459876315a0820dda72fe5c8e377
parent206656437d1de8cac19fe3be50637bee7657c05e (diff)
downloadpoky-6f892f5384ff21977325834ffe4a0ea8e28b2425.tar.gz
linux-yocto: prepend the the value with a space when append to KERNEL_EXTRA_ARGS
(From OE-Core rev: f6183b2d2f625515ea767dba3d8076a53a246874) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index cabc8f4975..7ea661e138 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -60,7 +60,7 @@ do_install:append(){
60KERNEL_FEATURES:append:qemuall=" features/kernel-sample/kernel-sample.scc" 60KERNEL_FEATURES:append:qemuall=" features/kernel-sample/kernel-sample.scc"
61 61
62KERNEL_DEBUG_OPTIONS ?= "stack" 62KERNEL_DEBUG_OPTIONS ?= "stack"
63KERNEL_EXTRA_ARGS:append:x86-64 = "${@bb.utils.contains('KERNEL_DEBUG_OPTIONS', 'stack', 'HOST_LIBELF_LIBS="-L${RECIPE_SYSROOT_NATIVE}/usr/lib/pkgconfig/../../../usr/lib/ -lelf"', '', d)}" 63KERNEL_EXTRA_ARGS:append:x86-64 = " ${@bb.utils.contains('KERNEL_DEBUG_OPTIONS', 'stack', 'HOST_LIBELF_LIBS="-L${RECIPE_SYSROOT_NATIVE}/usr/lib/pkgconfig/../../../usr/lib/ -lelf"', '', d)}"
64 64
65do_devshell:prepend() { 65do_devshell:prepend() {
66 # setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native) 66 # setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)