* [PATCH 1/5] gcc-runtime: apply ARM specific workaround to big-endian ARM too
@ 2020-03-16 18:48 Andre McCurdy
2020-03-16 18:48 ` [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only Andre McCurdy
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Andre McCurdy @ 2020-03-16 18:48 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index b2c5d43bd4..771f344ac0 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -20,6 +20,7 @@ EXTRA_OECONF_append_libc-newlib = " --with-newlib"
# Disable ifuncs for libatomic on arm conflicts -march/-mcpu
EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no "
+EXTRA_OECONF_append_armeb = " libat_cv_have_ifunc=no "
# Newlib does not support symbol versioning on libsdtcc++
SYMVERS_CONF_libc-newlib = ""
--
2.24.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only 2020-03-16 18:48 [PATCH 1/5] gcc-runtime: apply ARM specific workaround to big-endian ARM too Andre McCurdy @ 2020-03-16 18:48 ` Andre McCurdy 2020-03-26 15:31 ` [OE-core] " Khem Raj 2020-03-16 18:48 ` [PATCH 3/5] tune-arm1136jf-s.inc: restore vfp to TUNE_FEATURES_tune-arm1136jfs Andre McCurdy ` (2 subsequent siblings) 3 siblings, 1 reply; 6+ messages in thread From: Andre McCurdy @ 2020-03-16 18:48 UTC (permalink / raw) To: openembedded-core OE's packaging functions assume that the opkg-utils python scipts are always provided by opkg-utils-native, so the scripts should be removed for class-target only. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> --- meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb index eda73db6a4..9315240190 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb @@ -34,13 +34,13 @@ do_install() { if ! ${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'true', 'false', d)}; then rm -f "${D}${bindir}/update-alternatives" fi - - if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then - grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm - fi } do_install_append_class-target() { + if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then + grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm + fi + if [ -e "${D}${bindir}/update-alternatives" ]; then sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${nonarch_libdir},g' fi -- 2.24.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [OE-core] [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only 2020-03-16 18:48 ` [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only Andre McCurdy @ 2020-03-26 15:31 ` Khem Raj 0 siblings, 0 replies; 6+ messages in thread From: Khem Raj @ 2020-03-26 15:31 UTC (permalink / raw) To: Andre McCurdy; +Cc: Patches and discussions about the oe-core layer Richard ping on this patch, I am also running into the issue fixed by it. On Mon, Mar 16, 2020 at 11:49 AM Andre McCurdy <armccurdy@gmail.com> wrote: > > OE's packaging functions assume that the opkg-utils python scipts are > always provided by opkg-utils-native, so the scripts should be removed > for class-target only. > > Signed-off-by: Andre McCurdy <armccurdy@gmail.com> > --- > meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb > index eda73db6a4..9315240190 100644 > --- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb > +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb > @@ -34,13 +34,13 @@ do_install() { > if ! ${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'true', 'false', d)}; then > rm -f "${D}${bindir}/update-alternatives" > fi > - > - if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then > - grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm > - fi > } > > do_install_append_class-target() { > + if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then > + grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm > + fi > + > if [ -e "${D}${bindir}/update-alternatives" ]; then > sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${nonarch_libdir},g' > fi > -- > 2.24.0 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 3/5] tune-arm1136jf-s.inc: restore vfp to TUNE_FEATURES_tune-arm1136jfs 2020-03-16 18:48 [PATCH 1/5] gcc-runtime: apply ARM specific workaround to big-endian ARM too Andre McCurdy 2020-03-16 18:48 ` [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only Andre McCurdy @ 2020-03-16 18:48 ` Andre McCurdy 2020-03-16 18:48 ` [PATCH 4/5] tune-arm1176jz-s.inc: fix typo in PACKAGE_EXTRA_ARCHS_tune-arm1176jzs Andre McCurdy 2020-03-16 18:48 ` [PATCH 5/5] qemuarmv5.conf: drop stray comment including tune-arm1136jf-s.inc Andre McCurdy 3 siblings, 0 replies; 6+ messages in thread From: Andre McCurdy @ 2020-03-16 18:48 UTC (permalink / raw) To: openembedded-core The change to TUNE_FEATURES_tune-arm1136jfs as part of: https://git.openembedded.org/openembedded-core/commit/?id=ac83d22eb5031f7fdd09d34a1a46d92fd3e39a3c effectively removed both armv6 and vfp, when it should have removed armv6 only. Add vfp back to TUNE_FEATURES_tune-arm1136jfs. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> --- meta/conf/machine/include/tune-arm1136jf-s.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/machine/include/tune-arm1136jf-s.inc b/meta/conf/machine/include/tune-arm1136jf-s.inc index b25995d495..173cb468ef 100644 --- a/meta/conf/machine/include/tune-arm1136jf-s.inc +++ b/meta/conf/machine/include/tune-arm1136jf-s.inc @@ -10,7 +10,7 @@ AVAILTUNES += "arm1136jfs arm1136jfshf" ARMPKGARCH_tune-arm1136jfs = "arm1136jfs" ARMPKGARCH_tune-arm1136jfshf = "arm1136jfs" # mcpu is used so don't use armv6 as we don't want march -TUNE_FEATURES_tune-arm1136jfs = "arm arm1136jfs" +TUNE_FEATURES_tune-arm1136jfs = "arm vfp arm1136jfs" TUNE_FEATURES_tune-arm1136jfshf = "${TUNE_FEATURES_tune-arm1136jfs} callconvention-hard" PACKAGE_EXTRA_ARCHS_tune-arm1136jfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6} arm1136jfs-vfp" PACKAGE_EXTRA_ARCHS_tune-arm1136jfshf = "${PACKAGE_EXTRA_ARCHS_tune-armv6hf} arm1136jfshf-vfp" -- 2.24.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/5] tune-arm1176jz-s.inc: fix typo in PACKAGE_EXTRA_ARCHS_tune-arm1176jzs 2020-03-16 18:48 [PATCH 1/5] gcc-runtime: apply ARM specific workaround to big-endian ARM too Andre McCurdy 2020-03-16 18:48 ` [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only Andre McCurdy 2020-03-16 18:48 ` [PATCH 3/5] tune-arm1136jf-s.inc: restore vfp to TUNE_FEATURES_tune-arm1136jfs Andre McCurdy @ 2020-03-16 18:48 ` Andre McCurdy 2020-03-16 18:48 ` [PATCH 5/5] qemuarmv5.conf: drop stray comment including tune-arm1136jf-s.inc Andre McCurdy 3 siblings, 0 replies; 6+ messages in thread From: Andre McCurdy @ 2020-03-16 18:48 UTC (permalink / raw) To: openembedded-core Signed-off-by: Andre McCurdy <armccurdy@gmail.com> --- meta/conf/machine/include/tune-arm1176jz-s.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/machine/include/tune-arm1176jz-s.inc b/meta/conf/machine/include/tune-arm1176jz-s.inc index c741e80521..a63d585698 100644 --- a/meta/conf/machine/include/tune-arm1176jz-s.inc +++ b/meta/conf/machine/include/tune-arm1176jz-s.inc @@ -9,7 +9,7 @@ MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzs', 'armv6: AVAILTUNES += "arm1176jzs" ARMPKGARCH_tune-arm1176jzs = "arm1176jzs" TUNE_FEATURES_tune-arm1176jzs = "arm thumb arm1176jzs" -PACKAGE_EXTRA_ARCHS_tune-arm1176jzs = "${PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp} arm1176jzs arm1176jzst" +PACKAGE_EXTRA_ARCHS_tune-arm1176jzs = "${PACKAGE_EXTRA_ARCHS_tune-armv6t-novfp} arm1176jzs arm1176jzst" AVAILTUNES += "arm1176jzs-be" ARMPKGARCH_tune-arm1176jzs-be = "${ARMPKGARCH_tune-arm1176jzs}" -- 2.24.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/5] qemuarmv5.conf: drop stray comment including tune-arm1136jf-s.inc 2020-03-16 18:48 [PATCH 1/5] gcc-runtime: apply ARM specific workaround to big-endian ARM too Andre McCurdy ` (2 preceding siblings ...) 2020-03-16 18:48 ` [PATCH 4/5] tune-arm1176jz-s.inc: fix typo in PACKAGE_EXTRA_ARCHS_tune-arm1176jzs Andre McCurdy @ 2020-03-16 18:48 ` Andre McCurdy 3 siblings, 0 replies; 6+ messages in thread From: Andre McCurdy @ 2020-03-16 18:48 UTC (permalink / raw) To: openembedded-core An old comment which appears to have been checked in by accident as part of an unrelated change: https://git.openembedded.org/openembedded-core/commit/?id=e9ebcc4c19a624f76051c0a25d9ecf6ac4afb257 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> --- meta/conf/machine/qemuarmv5.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/conf/machine/qemuarmv5.conf b/meta/conf/machine/qemuarmv5.conf index 7f72048065..e7f24fe1ea 100644 --- a/meta/conf/machine/qemuarmv5.conf +++ b/meta/conf/machine/qemuarmv5.conf @@ -4,7 +4,6 @@ require conf/machine/include/qemu.inc require conf/machine/include/tune-arm926ejs.inc -#require conf/machine/include/tune-arm1136jf-s.inc KERNEL_IMAGETYPE = "zImage" -- 2.24.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-03-26 15:32 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-03-16 18:48 [PATCH 1/5] gcc-runtime: apply ARM specific workaround to big-endian ARM too Andre McCurdy 2020-03-16 18:48 ` [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only Andre McCurdy 2020-03-26 15:31 ` [OE-core] " Khem Raj 2020-03-16 18:48 ` [PATCH 3/5] tune-arm1136jf-s.inc: restore vfp to TUNE_FEATURES_tune-arm1136jfs Andre McCurdy 2020-03-16 18:48 ` [PATCH 4/5] tune-arm1176jz-s.inc: fix typo in PACKAGE_EXTRA_ARCHS_tune-arm1176jzs Andre McCurdy 2020-03-16 18:48 ` [PATCH 5/5] qemuarmv5.conf: drop stray comment including tune-arm1136jf-s.inc Andre McCurdy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox