external-arm-toolchain: swap symlink for gcc-runtime packages
PATCH 1/2 external-arm-toolchain: swap symlink for gcc-runtime packages
Native gcc already has ${libdir}/gcc/${TARGET_SYS} and expects gcc-runtime to be there.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../meta/external-arm-toolchain.bbappend | 36 ++++++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-)
meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend +33 -3
@@ -8,8 +8,9 @@ do_install_append() { if [ ${EAT_TARGET_SYS} != ${ORIG_TARGET_SYS} ]; then ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/${ORIG_TARGET_SYS} - ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/gcc/${ORIG_TARGET_SYS} ln -sf ${EAT_TARGET_SYS} ${D}${includedir}/c++/${EAT_VER_GCC}/${ORIG_TARGET_SYS} + mv ${D}${libdir}/gcc/${EAT_TARGET_SYS} ${D}${libdir}/gcc/${ORIG_TARGET_SYS} + ln -sf ${ORIG_TARGET_SYS} ${D}${libdir}/gcc/${EAT_TARGET_SYS} fi ln -sf libatomic.so.1 ${D}${libdir}/libatomic.so
@@ -22,6 +23,35 @@ do_install_append() { ln -sf libgfortran.so.5 ${D}${libdir}/libgfortran.so } -FILES_libgomp-dev += "\ - ${libdir}/gcc/${ORIG_TARGET_SYS} \ +FILES_libgcc-dev += "\ + ${libdir}/gcc/${TARGET_SYS} \ +" + +FILES_libgfortran-dev = "\ + ${libdir}/libgfortran*.so \ + ${libdir}/libgfortran.spec \ + ${libdir}/libgfortran.la \ + ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/libgfortranbegin.* \ + ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/libcaf_single* \ + ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/finclude/ \ +" + +FILES_libssp-dev = "\ + ${libdir}/libssp*.so \ + ${libdir}/libssp*_nonshared.a \ + ${libdir}/libssp*.la \ + ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/ssp \ +" + +FILES_libquadmath-dev = "\ + ${libdir}/libquadmath*.so \ + ${libdir}/libquadmath.la \ + ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/quadmath* \ +" + +FILES_libgomp-dev = "\ + ${libdir}/libgomp*${SOLIBSDEV} \ + ${libdir}/libgomp*.la \ + ${libdir}/libgomp.spec \ + ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/omp.h \ "
Signature · 1 line
2.7.4
PATCH 2/2 packagegroup-standalone-sdk-target: pull unconditionally libgomp-dev and libc-staticdev
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../packagegroups/packagegroup-arago-standalone-sdk-target.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb +4 -4
@@ -1,5 +1,5 @@ DESCRIPTION = "Target packages for the standalone SDK" -PR = "r12" +PR = "r13" LICENSE = "MIT" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -10,8 +10,9 @@ RDEPENDS_${PN} = "\ libgcc \ libgcc-dev \ libstdc++-dev \ + libgomp-dev \ ${LIBC_DEPENDENCIES} \ - ${@oe.utils.conditional('TCMODE', 'external-linaro', 'glibc-staticdev', '', d)} \ + libc-staticdev \ linux-libc-headers-dev \ gdbserver \ alsa-dev \
@@ -32,5 +33,4 @@ RDEPENDS_${PN} = "\ ncurses-dev \ opkg-dev \ util-linux-dev \ - ${@oe.utils.conditional('TCMODE', 'external-linaro', 'libgomp-dev', '', d)} \ - " +"
Signature · 1 line
2.7.4