diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2022-07-24 21:33:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-08 16:23:37 +0100 |
commit | 35f82bb72ec23430709e065c12af20835efb8336 (patch) | |
tree | 07213e4db666796ee8615fa8c6d9c2fe5bd990b6 /meta | |
parent | 8fd330d520e96e82a6056e2eb5949a872215b5f8 (diff) | |
download | poky-35f82bb72ec23430709e065c12af20835efb8336.tar.gz |
kernel.bbclass: pass LD also in savedefconfig
* similar to:
https://git.openembedded.org/openembedded-core/commit/?id=66c1f4b0abd3483759f9e4141a80f982eaf8ccfd
https://git.openembedded.org/openembedded-core/commit/?id=36fe2efc91fec5a52374a2dc4814a69076a2d28e
but for savedefconfig task
* otherwise with ld-is-gold it will fail with:
gold linker is not supported as it is not capable of linking the kernel proper.
(From OE-Core rev: 9d2f5c11c71a39db8d488644e9d3c338811e86d9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0c9e1bf35289afa63f040bbc13ca1755e4db0f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 8299b394a7..c29bd3d5f3 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -629,7 +629,7 @@ kernel_do_configure() { | |||
629 | 629 | ||
630 | do_savedefconfig() { | 630 | do_savedefconfig() { |
631 | bbplain "Saving defconfig to:\n${B}/defconfig" | 631 | bbplain "Saving defconfig to:\n${B}/defconfig" |
632 | oe_runmake -C ${B} savedefconfig | 632 | oe_runmake -C ${B} LD='${KERNEL_LD}' savedefconfig |
633 | } | 633 | } |
634 | do_savedefconfig[nostamp] = "1" | 634 | do_savedefconfig[nostamp] = "1" |
635 | addtask savedefconfig after do_configure | 635 | addtask savedefconfig after do_configure |