diff options
| -rw-r--r-- | meta/recipes-core/newlib/libgloss_4.2.0.bb (renamed from meta/recipes-core/newlib/libgloss_4.1.0.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-core/newlib/newlib.inc | 12 | ||||
| -rw-r--r-- | meta/recipes-core/newlib/newlib_4.2.0.bb (renamed from meta/recipes-core/newlib/newlib_4.1.0.bb) | 0 |
3 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-core/newlib/libgloss_4.1.0.bb b/meta/recipes-core/newlib/libgloss_4.2.0.bb index 8c8ee91395..8c8ee91395 100644 --- a/meta/recipes-core/newlib/libgloss_4.1.0.bb +++ b/meta/recipes-core/newlib/libgloss_4.2.0.bb | |||
diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc index 23cd172008..5e488d0848 100644 --- a/meta/recipes-core/newlib/newlib.inc +++ b/meta/recipes-core/newlib/newlib.inc | |||
| @@ -15,13 +15,19 @@ LIC_FILES_CHKSUM = " \ | |||
| 15 | file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \ | 15 | file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" | 18 | # Newlib maintainers sometimes publish the source |
| 19 | SRC_URI[sha256sum] = "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154" | 19 | # from a specific snapshot, after an upgrade we can |
| 20 | # delete the following line and keep the empty default | ||
| 21 | NEWLIB_SNAPSHOT = ".20211231" | ||
| 22 | NEWLIB_SNAPSHOT ?= "" | ||
| 23 | SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz" | ||
| 24 | SRC_URI[sha256sum] = "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435" | ||
| 25 | |||
| 20 | 26 | ||
| 21 | INHIBIT_DEFAULT_DEPS = "1" | 27 | INHIBIT_DEFAULT_DEPS = "1" |
| 22 | DEPENDS = "virtual/${TARGET_PREFIX}gcc" | 28 | DEPENDS = "virtual/${TARGET_PREFIX}gcc" |
| 23 | 29 | ||
| 24 | S = "${WORKDIR}/newlib-${PV}" | 30 | S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}" |
| 25 | B = "${WORKDIR}/build" | 31 | B = "${WORKDIR}/build" |
| 26 | 32 | ||
| 27 | ## disable stdlib | 33 | ## disable stdlib |
diff --git a/meta/recipes-core/newlib/newlib_4.1.0.bb b/meta/recipes-core/newlib/newlib_4.2.0.bb index 0542c596ba..0542c596ba 100644 --- a/meta/recipes-core/newlib/newlib_4.1.0.bb +++ b/meta/recipes-core/newlib/newlib_4.2.0.bb | |||
