mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
newlib: Upgrade 4.2.0 -> 4.3.0
- Rebased fix-rs6000-crt0.patch - Patch fix_makefile_include_arm_h.patch is no longer required, the newlib header dependency has been fixed upstream at 26f9cfd7 - LICENSE checksum change due to: - Adding SPDX identifier - Deleted Phoenix Systems from License and updated each licenses numbers accordingly. - Add a dummy limits.h header, to make the improved preprocessor checks happy during configure. - Add a patch for libgloss to maintain current behavior of TCLIBC=newlib by making libgloss DEPEND on newlib and use its installed headers. - Switch to git fetcher to simplify fetching the sources and avoid future issues due to the way newlib release snapshots were being published. (From OE-Core rev: 1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fa4cd1a7a2
commit
f3ad36d15c
@@ -0,0 +1,20 @@
|
||||
require newlib.inc
|
||||
|
||||
PROVIDES += "virtual/libc virtual/libiconv virtual/libintl"
|
||||
|
||||
do_configure() {
|
||||
export CC_FOR_TARGET="${CC}"
|
||||
${S}/configure ${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
# Move include files and libs to default directories so they can be picked up later
|
||||
mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir}
|
||||
mv -v ${D}${prefix}/${TARGET_SYS}/include ${D}${includedir}
|
||||
|
||||
# Remove original directory
|
||||
rmdir ${D}${prefix}/${TARGET_SYS}
|
||||
}
|
||||
|
||||
# No rpm package is actually created but -dev depends on it, avoid dnf error
|
||||
DEV_PKG_DEPENDENCY:libc-newlib = ""
|
||||
Reference in New Issue
Block a user