diff options
author | Alejandro Hernandez <alejandro@enedino.org> | 2020-04-27 15:23:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-29 15:02:19 +0100 |
commit | 87a2e7c43d463a0b2ecc48a8a45a1954cf68c0a8 (patch) | |
tree | ff78a6a3a7de0f51b75da0155b6104c96dcb429f /meta/recipes-core/newlib/libgloss_3.3.0.bb | |
parent | 11e7f09d60e5f2a4ad770e2d1cb6af4b32c46a90 (diff) | |
download | poky-87a2e7c43d463a0b2ecc48a8a45a1954cf68c0a8.tar.gz |
newlib: Upgrade to latest yearly release 3.3.0
Upgrade to the latest snapshot, also drop md5sum while were at it.
(From OE-Core rev: d73aa359e42e707dbc7cfa29c55a2fc8e6bb938a)
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/newlib/libgloss_3.3.0.bb')
-rw-r--r-- | meta/recipes-core/newlib/libgloss_3.3.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/newlib/libgloss_3.3.0.bb b/meta/recipes-core/newlib/libgloss_3.3.0.bb new file mode 100644 index 0000000000..c9ed30d988 --- /dev/null +++ b/meta/recipes-core/newlib/libgloss_3.3.0.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | require newlib.inc | ||
2 | |||
3 | DEPENDS += "newlib" | ||
4 | |||
5 | FILESEXTRAPATHS_prepend := "${THISDIR}/libgloss:" | ||
6 | |||
7 | SRC_URI_append_powerpc = " file://fix-rs6000-crt0.patch" | ||
8 | SRC_URI_append_arm = " file://fix_makefile_include_arm_h.patch" | ||
9 | |||
10 | do_configure() { | ||
11 | ${S}/libgloss/configure ${EXTRA_OECONF} | ||
12 | } | ||
13 | |||
14 | do_install_prepend() { | ||
15 | # install doesn't create this itself, avoid install error | ||
16 | install -d ${D}${prefix}/${TARGET_SYS}/lib | ||
17 | } | ||
18 | |||
19 | do_install_append() { | ||
20 | # Move libs to default directories so they can be picked up later | ||
21 | install -d ${D}${libdir} | ||
22 | mv -v ${D}${prefix}/${TARGET_SYS}/lib/* ${D}${libdir} | ||
23 | |||
24 | # Remove original directory | ||
25 | rmdir -p --ignore-fail-on-non-empty ${D}${prefix}/${TARGET_SYS}/lib | ||
26 | } | ||
27 | |||
28 | # Split packages correctly | ||
29 | FILES_${PN} += "${libdir}/*.ld ${libdir}/*.specs" | ||
30 | FILES_${PN}-dev += "${libdir}/cpu-init/*" | ||
31 | |||
32 | INHIBIT_PACKAGE_STRIP = "1" | ||
33 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||