gcc-runtime: apply ARM specific workaround to big-endian ARM too
PATCH 1/5 gcc-runtime: apply ARM specific workaround to big-endian ARM too
--- meta/recipes-devtools/gcc/gcc-runtime.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/gcc/gcc-runtime.inc +1 -0
@@ -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 = ""
Signature · 1 line
2.24.0
PATCH 2/5 opkg-utils: remove python scripts etc for the class-target only
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.
--- meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb +4 -4
@@ -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
Signature · 1 line
2.24.0
Re: [OE-core] [PATCH 2/5] opkg-utils: remove python scripts etc for the class-target only
Richard
ping on this patch, I am also running into the issue fixed by it.
Quoted 40 lines · Andre McCurdy
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 <[email protected]>--- meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb +4
-5@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
PATCH 3/5 tune-arm1136jf-s.inc: restore vfp to TUNE_FEATURES_tune-arm1136jfs
In reply to Andre McCurdyThe 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.
--- meta/conf/machine/include/tune-arm1136jf-s.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/machine/include/tune-arm1136jf-s.inc +1 -1
@@ -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"
Signature · 1 line
2.24.0
PATCH 4/5 tune-arm1176jz-s.inc: fix typo in PACKAGE_EXTRA_ARCHS_tune-arm1176jzs
In reply to Andre McCurdy--- meta/conf/machine/include/tune-arm1176jz-s.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/machine/include/tune-arm1176jz-s.inc +1 -1
@@ -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}"
Signature · 1 line
2.24.0
PATCH 5/5 qemuarmv5.conf: drop stray comment including tune-arm1136jf-s.inc
In reply to Andre McCurdyAn 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
--- meta/conf/machine/qemuarmv5.conf | 1 - 1 file changed, 1 deletion(-)
meta/conf/machine/qemuarmv5.conf +0 -1
@@ -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"
Signature · 1 line
2.24.0