newlib: upgrade 2.4.0 -> 3.2.0
PATCH 1/4 newlib: upgrade 2.4.0 -> 3.2.0
Dropped the patches which are not required anymore.
Signed-off-by Naveen Saini <[email protected]>
---
.../newlib/gettimeofday-header-fix.patch | 20 -
.../newlib/newlib/iamcu-commit-5d3ad3b.patch | 399 ------------------
.../newlib/{newlib_2.%.bb => newlib_3.%.bb} | 15 +-
...ewlib_2.%.bbappend => newlib_3.%.bbappend} | 0
4 files changed, 6 insertions(+), 428 deletions(-)
delete mode 100644 recipes-core/newlib/newlib/gettimeofday-header-fix.patch
delete mode 100644 recipes-core/newlib/newlib/iamcu-commit-5d3ad3b.patch
rename recipes-core/newlib/{newlib_2.%.bb => newlib_3.%.bb} (84%)
rename recipes-core/newlib/{newlib_2.%.bbappend => newlib_3.%.bbappend} (100%)recipes-core/newlib/newlib/gettimeofday-header-fix.patch deleted +0 -20
@@ -1,20 +0,0 @@ - -newlib-2.4.0 regression. -Export the prototype of gettimeofday - -Signed-off-by: Juro Bystricky <[email protected]> - ---- a/newlib/libc/include/sys/time.h 2016-03-29 14:33:42.000000000 -0700 -+++ b/newlib/libc/include/sys/time.h 2016-10-12 09:48:03.873642589 -0700 -@@ -429,9 +429,10 @@ - int _EXFUN(getitimer, (int __which, struct itimerval *__value)); - int _EXFUN(setitimer, (int __which, const struct itimerval *__restrict __value, - struct itimerval *__restrict __ovalue)); -+#endif -+ - int _EXFUN(gettimeofday, (struct timeval *__restrict __p, - void *__restrict __tz)); --#endif - - #if __GNU_VISIBLE - int _EXFUN(futimesat, (int, const char *, const struct timeval [2]));
recipes-core/newlib/newlib/iamcu-commit-5d3ad3b.patch deleted +0 -399
399 lines not on this page · raw message
recipes-core/newlib/newlib_3.%.bb renamed from recipes-core/newlib/newlib_2.%.bb +6 -9
@@ -2,24 +2,21 @@ HOMEPAGE = "https://sourceware.org/newlib/" SUMMARY = "C library for embedded systems" DESCRIPTION = "Newlib is a conglomeration of several library parts, all under free software licenses that make them easily usable on embedded products." -PV = "2.4.0" +PV = "3.2.0" -LICENSE = "GPLv2 & LGPLv3 & GPLv3 & LGPLv2" +LICENSE = "GPLv2 & LGPLv3 & GPLv3 & LGPLv2 & BSD-2-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ - file://COPYING.LIBGLOSS;md5=73f5c98779aea7dba4a6c94a74ab0ae2 \ + file://COPYING.LIBGLOSS;md5=54b778d585443cd7fbfa1b47cbd63a89 \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ - file://COPYING.NEWLIB;md5=fced02ba02d66f274d4847d27e80af74 \ + file://COPYING.NEWLIB;md5=ac17c68751aad7a5298ce3f249121070 \ file://newlib/libc/posix/COPYRIGHT;md5=103468ff1982be840fdf4ee9f8b51bbf \ file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0" SRC_URI = "ftp://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" -SRC_URI[md5sum] = "37c07a65c6effdb4822fb6f83067f37e" -SRC_URI[sha256sum] = "545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706" -SRC_URI += "file://gettimeofday-header-fix.patch" -SRC_URI += "file://assert-fiprintf.patch" -SRC_URI += "file://iamcu-commit-5d3ad3b.patch" +SRC_URI[md5sum] = "afb3a01c8c82b6717ea55659a4de30ec" +SRC_URI[sha256sum] = "f7b2322964a1e3b37bec0768da20f50dfb62247d729110974dd95756a53bb6d4" S = "${WORKDIR}/newlib-${PV}"
recipes-core/newlib/newlib_3.%.bbappend renamed from recipes-core/newlib/newlib_2.%.bbappend +0 -0
Signature · 1 line
2.17.1
PATCH 2/4 zephyr-getchar_git: remove sample program
This sample program does not exist anymore.
Signed-off-by Naveen Saini <[email protected]>
--- .../zephyr-getchar/zephyr-getchar_git.bb | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb
recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb deleted +0 -26
@@ -1,26 +0,0 @@ - -LICENSE="Apache-2.0" -LIC_FILES_CHKSUM = "file://src/zephyr_getchar.c;beginline=1;endline=15;md5=d78a817213b11b6bcd9fe41669a2fd4a" -inherit deploy - -require recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc - -SRCREV="b8d511be4d2b9e05c6adb413a33d6ea510aa0c6a" -SRC_URI = "git://github.com/pfalcon/zephyr_console_helpers.git;protocol=https" -S = "${WORKDIR}/git/zephyr_getchar" - -ZEPHYR_SRC_DIR = "${S}" -ZEPHYR_BASE="${STAGING_DIR_TARGET}/usr/src/zephyr" - -DEPENDS += "zephyr-kernel-src" - -do_compile () { - cd ${ZEPHYR_SRC_DIR} - oe_runmake ${ZEPHYR_MAKE_ARGS} -} - -do_deploy () { - install -D ${S}/outdir/${BOARD}/zephyr.elf ${DEPLOYDIR}/${PN}.elf -} - -addtask deploy after do_compile
Signature · 1 line
2.17.1
PATCH 3/4 tune-cortexm3.inc: set '-mfloat-abi=soft' floating-point ABI
In reply to Naveen SainiDue to default -mfloat-abi=softfp facing below error log:
"Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
Ref: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
Signed-off-by Naveen Saini <[email protected]>
--- conf/machine/include/tune-cortexm3.inc | 1 + 1 file changed, 1 insertion(+)
conf/machine/include/tune-cortexm3.inc +1 -0
@@ -18,3 +18,4 @@ PACKAGE_EXTRA_ARCHS_tune-cortexm3 ="cortexm3" TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp" +TUNE_CCARGS_MFLOAT = "soft"
Signature · 1 line
2.17.1
PATCH 4/4 zephyr-kernel-test.inc: exclude test which fails with arm
In reply to Naveen SainiSigned-off-by Naveen Saini <[email protected]>
--- recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc +1 -1
@@ -11,7 +11,7 @@ ZEPHYRTESTS_remove = "gen_isr_table spinlock smp mp" #ZEPHYRTESTS_remove_arm += "" # test_critical never finishes in an unpatched QEMU either -#ZEPHYRTESTS_remove_arm += "" +ZEPHYRTESTS_remove_arm += " boot_page_table" #Remove ARM specific tests #ZEPHYRTESTS_remove_x86 += ""
Signature · 1 line
2.17.1