* [dunfell/master] [PATCH] external-arm-toolchain: Remove recipe in favor of upstream
@ 2020-12-08 19:37 Dan Murphy
2020-12-08 20:24 ` Denys Dmytriyenko
0 siblings, 1 reply; 4+ messages in thread
From: Dan Murphy @ 2020-12-08 19:37 UTC (permalink / raw)
To: meta-arago
The upstream branch has been updated with the contents of this recipe
and this bbappend is no longer needed.
Commit 0078d68b46bce3197ef54d47b19bb83caf0acdb7 up to and including
commit 316d9318ee56dc1769144507e8ae529b8041ef3 in the meta-arm layer.
See repo
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/log/?h=dunfell
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
.../meta/external-arm-toolchain.bbappend | 73 -------------------
1 file changed, 73 deletions(-)
delete mode 100644 meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
diff --git a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
deleted file mode 100644
index 5a51aaa07428..000000000000
--- a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
+++ /dev/null
@@ -1,73 +0,0 @@
-ORIG_TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS'), ''][d.getVar('TARGET_OS') == ('' or 'custom')]}"
-
-do_install_append() {
- install -d ${D}${base_sbindir}
- cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/libc/${base_sbindir}/ldconfig ${D}${base_sbindir}/
- install -d ${D}${sysconfdir}
- echo -e "/lib\n/usr/lib" >> ${D}${sysconfdir}/ld.so.conf
-
- if [ ${EAT_TARGET_SYS} != ${ORIG_TARGET_SYS} ]; then
- ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/${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
- ln -sf libgomp.so.1 ${D}${libdir}/libgomp.so
- ln -sf libitm.so.1 ${D}${libdir}/libitm.so
- ln -sf libssp.so.0 ${D}${libdir}/libssp.so
- ln -sf libstdc++.so.6 ${D}${libdir}/libstdc++.so
- ln -sf libubsan.so.1 ${D}${libdir}/libubsan.so
- ln -sf libasan.so.5 ${D}${libdir}/libasan.so
- ln -sf libgfortran.so.5 ${D}${libdir}/libgfortran.so
-
- cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/lib/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC}/libgcc* ${D}${libdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC}/
-}
-
-# Below FILES_* overrides are due to TARGET_SYS -> ORIG_TARGET_SYS move in ${libdir}/gcc
-# to enable native compile on the target
-FILES_libgcov-staticdev = "${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/libgcov.a"
-
-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_gcc-sanitizers = "${libdir}/*.spec ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/sanitizer/*.h"
-
-# This is provided by gcc:
-# ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include
-FILES_libgcc-dev = "\
- ${base_libdir}/libgcc*.so \
- ${@oe.utils.conditional('BASETARGET_SYS', '${ORIG_TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
- ${libdir}/${TARGET_SYS}/${BINV}* \
- ${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \
- ${libdir}/gcc/${TARGET_SYS} \
-"
-
-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 \
-"
-
-INSANE_SKIP_libgcc-dev += "staticdev"
--
2.29.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [dunfell/master] [PATCH] external-arm-toolchain: Remove recipe in favor of upstream
2020-12-08 19:37 [dunfell/master] [PATCH] external-arm-toolchain: Remove recipe in favor of upstream Dan Murphy
@ 2020-12-08 20:24 ` Denys Dmytriyenko
2020-12-08 20:33 ` Dan Murphy
0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2020-12-08 20:24 UTC (permalink / raw)
To: Dan Murphy; +Cc: meta-arago
Dan,
You might want to look into eventually removing external-arm-sdk-toolchain as
well.
But I would also suggest doing lots of testing of these changes, especially
when packaging the toolchain for the target and SDK/devkit. As there were some
adjustments made when upstreaming these recipes to meta-arm earlier, so the
code there is not 100% identical and some assumptions in meta-arago may no
longer be true.
Please let me know if you have any questions - I'd be happy to help where I
can.
Thanks.
Denys
On Tue, Dec 08, 2020 at 01:37:42PM -0600, Dan Murphy wrote:
> The upstream branch has been updated with the contents of this recipe
> and this bbappend is no longer needed.
>
> Commit 0078d68b46bce3197ef54d47b19bb83caf0acdb7 up to and including
> commit 316d9318ee56dc1769144507e8ae529b8041ef3 in the meta-arm layer.
>
> See repo
> https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/log/?h=dunfell
>
> From: Dan Murphy <dmurphy@ti.com>
> Signed-off-by: Dan Murphy <dmurphy@ti.com>
> ---
> .../meta/external-arm-toolchain.bbappend | 73 -------------------
> 1 file changed, 73 deletions(-)
> delete mode 100644 meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
>
> diff --git a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
> deleted file mode 100644
> index 5a51aaa07428..000000000000
> --- a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
> +++ /dev/null
> @@ -1,73 +0,0 @@
> -ORIG_TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS'), ''][d.getVar('TARGET_OS') == ('' or 'custom')]}"
> -
> -do_install_append() {
> - install -d ${D}${base_sbindir}
> - cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/libc/${base_sbindir}/ldconfig ${D}${base_sbindir}/
> - install -d ${D}${sysconfdir}
> - echo -e "/lib\n/usr/lib" >> ${D}${sysconfdir}/ld.so.conf
> -
> - if [ ${EAT_TARGET_SYS} != ${ORIG_TARGET_SYS} ]; then
> - ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/${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
> - ln -sf libgomp.so.1 ${D}${libdir}/libgomp.so
> - ln -sf libitm.so.1 ${D}${libdir}/libitm.so
> - ln -sf libssp.so.0 ${D}${libdir}/libssp.so
> - ln -sf libstdc++.so.6 ${D}${libdir}/libstdc++.so
> - ln -sf libubsan.so.1 ${D}${libdir}/libubsan.so
> - ln -sf libasan.so.5 ${D}${libdir}/libasan.so
> - ln -sf libgfortran.so.5 ${D}${libdir}/libgfortran.so
> -
> - cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/lib/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC}/libgcc* ${D}${libdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC}/
> -}
> -
> -# Below FILES_* overrides are due to TARGET_SYS -> ORIG_TARGET_SYS move in ${libdir}/gcc
> -# to enable native compile on the target
> -FILES_libgcov-staticdev = "${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/libgcov.a"
> -
> -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_gcc-sanitizers = "${libdir}/*.spec ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/sanitizer/*.h"
> -
> -# This is provided by gcc:
> -# ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include
> -FILES_libgcc-dev = "\
> - ${base_libdir}/libgcc*.so \
> - ${@oe.utils.conditional('BASETARGET_SYS', '${ORIG_TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
> - ${libdir}/${TARGET_SYS}/${BINV}* \
> - ${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \
> - ${libdir}/gcc/${TARGET_SYS} \
> -"
> -
> -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 \
> -"
> -
> -INSANE_SKIP_libgcc-dev += "staticdev"
> --
> 2.29.2
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
--
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dunfell/master] [PATCH] external-arm-toolchain: Remove recipe in favor of upstream
2020-12-08 20:24 ` Denys Dmytriyenko
@ 2020-12-08 20:33 ` Dan Murphy
2020-12-08 20:49 ` Denys Dmytriyenko
0 siblings, 1 reply; 4+ messages in thread
From: Dan Murphy @ 2020-12-08 20:33 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-arago
Denys
Thanks for the guidance.
I gave the sdk recipe a quick look and that is still needed for the
cross-canadian as that was not pulled into upstream.
But I need to dig a bit deeper into that recipe.
So far removing this recipe has allowed the builds to pass for the
toolchain.
Dan
On 12/8/20 2:24 PM, Denys Dmytriyenko wrote:
> Dan,
>
> You might want to look into eventually removing external-arm-sdk-toolchain as
> well.
>
> But I would also suggest doing lots of testing of these changes, especially
> when packaging the toolchain for the target and SDK/devkit. As there were some
> adjustments made when upstreaming these recipes to meta-arm earlier, so the
> code there is not 100% identical and some assumptions in meta-arago may no
> longer be true.
>
> Please let me know if you have any questions - I'd be happy to help where I
> can.
>
> Thanks.
>
> Denys
>
>
> On Tue, Dec 08, 2020 at 01:37:42PM -0600, Dan Murphy wrote:
>> The upstream branch has been updated with the contents of this recipe
>> and this bbappend is no longer needed.
>>
>> Commit 0078d68b46bce3197ef54d47b19bb83caf0acdb7 up to and including
>> commit 316d9318ee56dc1769144507e8ae529b8041ef3 in the meta-arm layer.
>>
>> See repo
>> https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/log/?h=dunfell
>>
>> From: Dan Murphy <dmurphy@ti.com>
>> Signed-off-by: Dan Murphy <dmurphy@ti.com>
>> ---
>> .../meta/external-arm-toolchain.bbappend | 73 -------------------
>> 1 file changed, 73 deletions(-)
>> delete mode 100644 meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
>>
>> diff --git a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
>> deleted file mode 100644
>> index 5a51aaa07428..000000000000
>> --- a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
>> +++ /dev/null
>> @@ -1,73 +0,0 @@
>> -ORIG_TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS'), ''][d.getVar('TARGET_OS') == ('' or 'custom')]}"
>> -
>> -do_install_append() {
>> - install -d ${D}${base_sbindir}
>> - cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/libc/${base_sbindir}/ldconfig ${D}${base_sbindir}/
>> - install -d ${D}${sysconfdir}
>> - echo -e "/lib\n/usr/lib" >> ${D}${sysconfdir}/ld.so.conf
>> -
>> - if [ ${EAT_TARGET_SYS} != ${ORIG_TARGET_SYS} ]; then
>> - ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/${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
>> - ln -sf libgomp.so.1 ${D}${libdir}/libgomp.so
>> - ln -sf libitm.so.1 ${D}${libdir}/libitm.so
>> - ln -sf libssp.so.0 ${D}${libdir}/libssp.so
>> - ln -sf libstdc++.so.6 ${D}${libdir}/libstdc++.so
>> - ln -sf libubsan.so.1 ${D}${libdir}/libubsan.so
>> - ln -sf libasan.so.5 ${D}${libdir}/libasan.so
>> - ln -sf libgfortran.so.5 ${D}${libdir}/libgfortran.so
>> -
>> - cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/lib/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC}/libgcc* ${D}${libdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC}/
>> -}
>> -
>> -# Below FILES_* overrides are due to TARGET_SYS -> ORIG_TARGET_SYS move in ${libdir}/gcc
>> -# to enable native compile on the target
>> -FILES_libgcov-staticdev = "${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/libgcov.a"
>> -
>> -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_gcc-sanitizers = "${libdir}/*.spec ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/sanitizer/*.h"
>> -
>> -# This is provided by gcc:
>> -# ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include
>> -FILES_libgcc-dev = "\
>> - ${base_libdir}/libgcc*.so \
>> - ${@oe.utils.conditional('BASETARGET_SYS', '${ORIG_TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
>> - ${libdir}/${TARGET_SYS}/${BINV}* \
>> - ${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \
>> - ${libdir}/gcc/${TARGET_SYS} \
>> -"
>> -
>> -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 \
>> -"
>> -
>> -INSANE_SKIP_libgcc-dev += "staticdev"
>> --
>> 2.29.2
>>
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dunfell/master] [PATCH] external-arm-toolchain: Remove recipe in favor of upstream
2020-12-08 20:33 ` Dan Murphy
@ 2020-12-08 20:49 ` Denys Dmytriyenko
0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2020-12-08 20:49 UTC (permalink / raw)
To: Dan Murphy; +Cc: meta-arago
Dan,
You are welcome.
The recipe itself is in meta-arm/dunfell now:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/?h=dunfell&id=316d9318ee56dc1769144507e8ae529b8041ef33
But it may need some other changes in meta-arago recipes or configs...
Cross-compiling for the target with ARM toolchain is just the tip of
the iceberg and usually is straightforward. Target native compilation
and reusing the toolchain for the devkit is where it gets tricky...
On the bright side, the upstreaming should help clean up a lot of messy
hacks in meta-arago accumulated over the years :)
--
Denys
On Tue, Dec 08, 2020 at 02:33:40PM -0600, Dan Murphy wrote:
> Denys
>
> Thanks for the guidance.
>
> I gave the sdk recipe a quick look and that is still needed for the
> cross-canadian as that was not pulled into upstream.
>
> But I need to dig a bit deeper into that recipe.
>
> So far removing this recipe has allowed the builds to pass for the
> toolchain.
>
> Dan
>
> On 12/8/20 2:24 PM, Denys Dmytriyenko wrote:
> >Dan,
> >
> >You might want to look into eventually removing external-arm-sdk-toolchain as
> >well.
> >
> >But I would also suggest doing lots of testing of these changes, especially
> >when packaging the toolchain for the target and SDK/devkit. As there were some
> >adjustments made when upstreaming these recipes to meta-arm earlier, so the
> >code there is not 100% identical and some assumptions in meta-arago may no
> >longer be true.
> >
> >Please let me know if you have any questions - I'd be happy to help where I
> >can.
> >
> >Thanks.
> >
> >Denys
> >
> >
> >On Tue, Dec 08, 2020 at 01:37:42PM -0600, Dan Murphy wrote:
> >>The upstream branch has been updated with the contents of this recipe
> >>and this bbappend is no longer needed.
> >>
> >>Commit 0078d68b46bce3197ef54d47b19bb83caf0acdb7 up to and including
> >>commit 316d9318ee56dc1769144507e8ae529b8041ef3 in the meta-arm layer.
> >>
> >>See repo
> >>https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/log/?h=dunfell
> >>
> >>From: Dan Murphy <dmurphy@ti.com>
> >>Signed-off-by: Dan Murphy <dmurphy@ti.com>
> >>---
> >> .../meta/external-arm-toolchain.bbappend | 73 -------------------
> >> 1 file changed, 73 deletions(-)
> >> delete mode 100644 meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
> >>
> >>diff --git a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
> >>deleted file mode 100644
> >>index 5a51aaa07428..000000000000
> >>--- a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend
> >>+++ /dev/null
> >>@@ -1,73 +0,0 @@
> >>-ORIG_TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS'), ''][d.getVar('TARGET_OS') == ('' or 'custom')]}"
> >>-
> >>-do_install_append() {
> >>- install -d ${D}${base_sbindir}
> >>- cp -a ${TOOLCHAIN_PATH}/${EAT_TARGET_SYS}/libc/${base_sbindir}/ldconfig ${D}${base_sbindir}/
> >>- install -d ${D}${sysconfdir}
> >>- echo -e "/lib\n/usr/lib" >> ${D}${sysconfdir}/ld.so.conf
> >>-
> >>- if [ ${EAT_TARGET_SYS} != ${ORIG_TARGET_SYS} ]; then
> >>- ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/${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
> >>- ln -sf libgomp.so.1 ${D}${libdir}/libgomp.so
> >>- ln -sf libitm.so.1 ${D}${libdir}/libitm.so
> >>- ln -sf libssp.so.0 ${D}${libdir}/libssp.so
> >>- ln -sf libstdc++.so.6 ${D}${libdir}/libstdc++.so
> >>- ln -sf libubsan.so.1 ${D}${libdir}/libubsan.so
> >>- ln -sf libasan.so.5 ${D}${libdir}/libasan.so
> >>- ln -sf libgfortran.so.5 ${D}${libdir}/libgfortran.so
> >>-
> >>- cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/lib/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC}/libgcc* ${D}${libdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC}/
> >>-}
> >>-
> >>-# Below FILES_* overrides are due to TARGET_SYS -> ORIG_TARGET_SYS move in ${libdir}/gcc
> >>-# to enable native compile on the target
> >>-FILES_libgcov-staticdev = "${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/libgcov.a"
> >>-
> >>-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_gcc-sanitizers = "${libdir}/*.spec ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/sanitizer/*.h"
> >>-
> >>-# This is provided by gcc:
> >>-# ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include
> >>-FILES_libgcc-dev = "\
> >>- ${base_libdir}/libgcc*.so \
> >>- ${@oe.utils.conditional('BASETARGET_SYS', '${ORIG_TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
> >>- ${libdir}/${TARGET_SYS}/${BINV}* \
> >>- ${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \
> >>- ${libdir}/gcc/${TARGET_SYS} \
> >>-"
> >>-
> >>-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 \
> >>-"
> >>-
> >>-INSANE_SKIP_libgcc-dev += "staticdev"
> >>--
> >>2.29.2
> >>
> >>_______________________________________________
> >>meta-arago mailing list
> >>meta-arago@arago-project.org
> >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >>
>
--
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-08 20:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-08 19:37 [dunfell/master] [PATCH] external-arm-toolchain: Remove recipe in favor of upstream Dan Murphy
2020-12-08 20:24 ` Denys Dmytriyenko
2020-12-08 20:33 ` Dan Murphy
2020-12-08 20:49 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.