]> code.ossystems Code Review - openembedded-core.git/commitdiff
newlib: Upgrade 4.1.0 -> 4.2.0
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>
Fri, 28 Jan 2022 01:40:22 +0000 (18:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Feb 2022 10:07:38 +0000 (10:07 +0000)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/newlib/libgloss_4.2.0.bb [moved from meta/recipes-core/newlib/libgloss_4.1.0.bb with 100% similarity]
meta/recipes-core/newlib/newlib.inc
meta/recipes-core/newlib/newlib_4.2.0.bb [moved from meta/recipes-core/newlib/newlib_4.1.0.bb with 100% similarity]

index 23cd1720087f06b70cdc7ab76af2b889c6f2d0b1..5e488d08483d57d62bb11e6a551a10f6ce3fae5a 100644 (file)
@@ -15,13 +15,19 @@ LIC_FILES_CHKSUM = " \
                file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \
                "
 
-SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz"
-SRC_URI[sha256sum] = "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154"
+# Newlib maintainers sometimes publish the source
+# from a specific snapshot, after an upgrade we can
+# delete the following line and keep the empty default
+NEWLIB_SNAPSHOT = ".20211231"
+NEWLIB_SNAPSHOT ?= ""
+SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz"
+SRC_URI[sha256sum] = "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435"
+
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "virtual/${TARGET_PREFIX}gcc"
 
-S = "${WORKDIR}/newlib-${PV}"
+S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}"
 B = "${WORKDIR}/build"
 
 ## disable stdlib