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/newlib_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/newlib_3.3.0.bb')
-rw-r--r-- | meta/recipes-core/newlib/newlib_3.3.0.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/newlib/newlib_3.3.0.bb b/meta/recipes-core/newlib/newlib_3.3.0.bb new file mode 100644 index 0000000000..7ab5b2b94e --- /dev/null +++ b/meta/recipes-core/newlib/newlib_3.3.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require newlib.inc | ||
2 | |||
3 | PROVIDES += "virtual/libc virtual/libiconv virtual/libintl" | ||
4 | |||
5 | do_configure() { | ||
6 | export CC_FOR_TARGET="${CC}" | ||
7 | ${S}/configure ${EXTRA_OECONF} | ||
8 | } | ||
9 | |||
10 | do_install_append() { | ||
11 | # Move include files and libs to default directories so they can be picked up later | ||
12 | mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir} | ||
13 | mv -v ${D}${prefix}/${TARGET_SYS}/include ${D}${includedir} | ||
14 | |||
15 | # Remove original directory | ||
16 | rmdir ${D}${prefix}/${TARGET_SYS} | ||
17 | } | ||
18 | |||
19 | # No rpm package is actually created but -dev depends on it, avoid dnf error | ||
20 | RDEPENDS_${PN}-dev_libc-newlib = "" | ||