Skip to contentSkip to conversation

newlib: Upgrade 4.4.0 -> 4.5.0

PATCH New Alejandro Enedino Hernandez Samaniego 1 participant 1 message May 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 newlib: Upgrade 4.4.0 -> 4.5.0

From: Alejandro Hernandez Samaniego <[email protected]>

Licence changes:
- Adds BSD-2 for libm ld128 functions on 5c5ae2c08
- Adds Synopsys arc-*-* targets on 820dd50

---
 meta/recipes-core/newlib/libgloss_git.bb | 8 ++++++--
 meta/recipes-core/newlib/newlib.inc      | 8 ++++----
 2 files changed, 10 insertions(+), 6 deletions(-)
meta/recipes-core/newlib/libgloss_git.bb +6 -2
index 3c97a7f296..92bb81050b 100644
@@ -21,8 +21,12 @@ do_install:append() {
 	install -d ${D}${libdir}
 	mv -v ${D}${prefix}/${TARGET_SYS}/lib/* ${D}${libdir}
 
-	# Remove original directory
-	rmdir -p --ignore-fail-on-non-empty ${D}${prefix}/${TARGET_SYS}/lib
+        # Remove original directory
+        rmdir -p --ignore-fail-on-non-empty ${D}${prefix}/${TARGET_SYS}/lib
+        # Remove empty include dir
+        rmdir ${D}/${prefix}/${TARGET_SYS}/include
+        rmdir ${D}/${prefix}/${TARGET_SYS}/
+
 }
 
 # Split packages correctly
meta/recipes-core/newlib/newlib.inc +4 -4
index 50113ba433..5b5025148e 100644
@@ -8,16 +8,16 @@ LIC_FILES_CHKSUM = " \
 		file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 		file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
 		file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
-		file://COPYING.LIBGLOSS;md5=c0469b6ebb847a75781066be515f032d \
+		file://COPYING.LIBGLOSS;md5=faa6f6ad545714df2a7d1276ed899f15 \
 		file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
-		file://COPYING.NEWLIB;md5=4f1a15846ffee91e352418563e1bce27 \
+		file://COPYING.NEWLIB;md5=61255563bbcda142f581b94591b6a589 \
 		file://newlib/libc/posix/COPYRIGHT;md5=103468ff1982be840fdf4ee9f8b51bbf \
 		"
 
-BASEVER = "4.4.0"
+BASEVER = "4.5.0"
 PV = "${BASEVER}+git"
 SRC_URI = "git://sourceware.org/git/newlib-cygwin.git;protocol=https;branch=main"
-SRCREV = "ad11e2587f83d61357a32c61c36d72ea4f39315e"
+SRCREV = "5e5e51f1dc56a99eb4648c28e00d73b6ea44a8b0"
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "virtual/cross-cc"
Signature · 1 line
2.45.2