diff options
author | Alexey Brodkin <alexey.brodkin@synopsys.com> | 2019-02-09 18:37:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-12 14:04:31 +0000 |
commit | 7ff72ff24b7b988a8f0b793b6e8cc3c6111d4d29 (patch) | |
tree | d5dbf1e6a63214ea12c49ff25ed90165bed7325e /meta/recipes-kernel | |
parent | 2a68d9fa4b85fb4ffa5ccb5b5ec1d35121cff9fe (diff) | |
download | poky-7ff72ff24b7b988a8f0b793b6e8cc3c6111d4d29.tar.gz |
linux-yocto: Add dependency on libgcc for ARC
As of now in case of ARC there's no in-kernel implementation of basic libgcc
functions used for millicode, multiplication, division etc instead we simply
link with libgcc.a which provides everything used by the compiler.
(From OE-Core rev: 4f582a1123be0cc56abab324c5eb16ad03906857)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 1ebfb606da..f191946f2a 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc | |||
@@ -26,6 +26,10 @@ DEPENDS_append_nios2 = " libgcc" | |||
26 | KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}" | 26 | KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}" |
27 | KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}" | 27 | KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}" |
28 | 28 | ||
29 | DEPENDS_append_arc = " libgcc" | ||
30 | KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}" | ||
31 | KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}" | ||
32 | |||
29 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" | 33 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" |
30 | 34 | ||
31 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" | 35 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" |