]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: Add dependency on libgcc for ARC
authorAlexey Brodkin <alexey.brodkin@synopsys.com>
Sat, 9 Feb 2019 18:37:06 +0000 (18:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Feb 2019 14:04:24 +0000 (14:04 +0000)
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.

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>
meta/recipes-kernel/linux/linux-yocto.inc

index 1ebfb606da9be8cd9143d0fa719380a013a08a32..f191946f2a87beffc525067526fc384777dcfeba 100644 (file)
@@ -26,6 +26,10 @@ DEPENDS_append_nios2 = " libgcc"
 KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}"
 KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}"
 
+DEPENDS_append_arc = " libgcc"
+KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}"
+KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}"
+
 KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc"
 
 KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"