summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-yocto.inc
diff options
context:
space:
mode:
authorAlexey Brodkin <alexey.brodkin@synopsys.com>2019-02-09 18:37:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-12 14:04:31 +0000
commit7ff72ff24b7b988a8f0b793b6e8cc3c6111d4d29 (patch)
treed5dbf1e6a63214ea12c49ff25ed90165bed7325e /meta/recipes-kernel/linux/linux-yocto.inc
parent2a68d9fa4b85fb4ffa5ccb5b5ec1d35121cff9fe (diff)
downloadpoky-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/linux/linux-yocto.inc')
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc4
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"
26KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}" 26KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}"
27KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}" 27KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}"
28 28
29DEPENDS_append_arc = " libgcc"
30KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}"
31KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}"
32
29KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" 33KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc"
30 34
31KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" 35KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"