diff options
author | Alejandro Hernandez Samaniego <aehs29@gmail.com> | 2019-06-04 10:56:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-06 00:40:07 +0100 |
commit | 9929318619c212ea36332053fea4c7a7d9d6caa9 (patch) | |
tree | dfbbf00119ee32cfcbd998adf6d08e9a04e5b163 /meta/recipes-core/newlib/libgloss_3.1.0.bb | |
parent | f092b04d4c2e6b25de99d85e13665226834be3a9 (diff) | |
download | poky-9929318619c212ea36332053fea4c7a7d9d6caa9.tar.gz |
newlib: Upgrade to 3.1.0
Upgrade both newlib and libgloss to the yearly
release 3.1.0.
BSD-2 license was added on:
6864c08b94752d34cca
(From OE-Core rev: ef90ed7e4be3f1ed63faba73bd4bbd593ae7bdf2)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/newlib/libgloss_3.1.0.bb')
-rw-r--r-- | meta/recipes-core/newlib/libgloss_3.1.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/newlib/libgloss_3.1.0.bb b/meta/recipes-core/newlib/libgloss_3.1.0.bb new file mode 100644 index 0000000000..c9ed30d988 --- /dev/null +++ b/meta/recipes-core/newlib/libgloss_3.1.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" | ||