On Thu, Jan 27, 2022 at 5:40 PM Alejandro Hernandez Samaniego
<[email protected]> wrote:
>
> Signed-off-by: Alejandro Enedino Hernandez Samaniego <[email protected]>
> ---
>  .../newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb}  |  0
>  meta/recipes-core/newlib/newlib.inc                  | 12 +++++++++---
>  .../newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb}      |  0
>  3 files changed, 9 insertions(+), 3 deletions(-)
>  rename meta/recipes-core/newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} 
> (100%)
>  rename meta/recipes-core/newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} (100%)
>
> diff --git a/meta/recipes-core/newlib/libgloss_4.1.0.bb 
> b/meta/recipes-core/newlib/libgloss_4.2.0.bb
> similarity index 100%
> rename from meta/recipes-core/newlib/libgloss_4.1.0.bb
> rename to 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 = " \
>                 
> file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0
>  \
>                 "
>
> -SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz";
> -SRC_URI[sha256sum] = 
> "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154"
> +# Newlib maintainers sometimes publish the source
> +# from a specific snapshot, after an upgrade we can
> +# delete the following line and keep the empty default
> +NEWLIB_SNAPSHOT = ".20211231"

hmmm so its not 4.2.0 release yet ?
maybe just rename the recipe accordingly ?

> +NEWLIB_SNAPSHOT ?= ""
> +SRC_URI = 
> "https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz";
> +SRC_URI[sha256sum] = 
> "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435"
> +
>
>  INHIBIT_DEFAULT_DEPS = "1"
>  DEPENDS = "virtual/${TARGET_PREFIX}gcc"
>
> -S = "${WORKDIR}/newlib-${PV}"
> +S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}"
>  B = "${WORKDIR}/build"
>
>  ## disable stdlib
> diff --git a/meta/recipes-core/newlib/newlib_4.1.0.bb 
> b/meta/recipes-core/newlib/newlib_4.2.0.bb
> similarity index 100%
> rename from meta/recipes-core/newlib/newlib_4.1.0.bb
> rename to meta/recipes-core/newlib/newlib_4.2.0.bb
> --
> 2.25.1
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161065): 
https://lists.openembedded.org/g/openembedded-core/message/161065
Mute This Topic: https://lists.openembedded.org/mt/88736577/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to