Skip to contentSkip to conversation

libubootenv: upgrade 0.3.6 -> 0.3.7

PATCH Superseded [email protected] 2 participants 2 messages Dec 19, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libubootenv: upgrade 0.3.6 -> 0.3.7

From: Stefano Babic <[email protected]>

---
 ...Update-cmake_minimum_required-to-3.5.patch | 50 -------------------
 ...ubootenv_0.3.6.bb => libubootenv_0.3.7.bb} |  3 +-
 2 files changed, 1 insertion(+), 52 deletions(-)
 delete mode 100644 meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch
 rename meta/recipes-bsp/u-boot/{libubootenv_0.3.6.bb => libubootenv_0.3.7.bb} (86%)
meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch deleted +0 -50
deleted file mode 100644
index ee174ca59e..0000000000
@@ -1,50 +0,0 @@
-From cd12d9dd2bea8e4580f458df77229477fc55ba70 Mon Sep 17 00:00:00 2001
-From: James Hilliard <[email protected]>
-Date: Wed, 14 May 2025 14:17:40 -0600
-Subject: [PATCH] Update cmake_minimum_required to 3.5
-
-This supports compilation with cmake-4.0.0.
-
-Fixes:
-CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
-  Compatibility with CMake < 3.5 has been removed from CMake.
-
-  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
-  to tell CMake that the project requires at least <min> but has been updated
-  to work with policies introduced by <max> or earlier.
-
-  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-
-Signed-off-by: James Hilliard <[email protected]>
-Upstream-Status: Backport [cd12d9dd2bea8e4580f458df77229477fc55ba70]
----
- CMakeLists.txt     | 2 +-
- src/CMakeLists.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 796d7bc..0a11730 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2,7 +2,7 @@
- #
- # SPDX-License-Identifier:     LGPL-2.1-or-later
-
--cmake_minimum_required (VERSION 2.6)
-+cmake_minimum_required (VERSION 3.5)
- project (libubootenv C)
-
- # The version number.
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index c56d0c7..3370232 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -1,7 +1,7 @@
- # SPDX-FileCopyrightText: 2019-2021 Stefano Babic <[email protected]>
- #
- # SPDX-License-Identifier:     LGPL-2.1-or-later
--cmake_minimum_required (VERSION 2.6)
-+cmake_minimum_required (VERSION 3.5)
- # Sources and private headers
- SET(libubootenv_SOURCES
-   uboot_env.c
meta/recipes-bsp/u-boot/libubootenv_0.3.7.bb renamed from meta/recipes-bsp/u-boot/libubootenv_0.3.6.bb +1 -2
similarity index 86%
rename from meta/recipes-bsp/u-boot/libubootenv_0.3.6.bb
rename to meta/recipes-bsp/u-boot/libubootenv_0.3.7.bb
index b63b8ff87d..e7c131e5cd 100644
@@ -11,9 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951
 SECTION = "libs"
 
 SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https;branch=master \
-           file://0001-Update-cmake_minimum_required-to-3.5.patch \
            "
-SRCREV = "5507339628b5caf244e1ff9d58cb3fa534b16beb"
+SRCREV = "1e3511ed77f794ee5decc0974d54c8e5af26f64c"
 
 inherit cmake lib_package
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 86 lines · opensource via lists.openembedded.org

From: Stefano Babic <[email protected]>

---
 ...Update-cmake_minimum_required-to-3.5.patch | 50 -------------------
 ...ubootenv_0.3.6.bb => libubootenv_0.3.7.bb} |  3 +-
 2 files changed, 1 insertion(+), 52 deletions(-)
 delete mode 100644
meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch
 rename meta/recipes-bsp/u-boot/{libubootenv_0.3.6.bb =>

libubootenv_0.3.7.bb} (86%)

diff --git a/meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch b/meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch deleted file mode 100644
index ee174ca59e..0000000000
---
a/meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch +++ /dev/null

meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch deleted +0 -12
@@ -1,50 +0,0 @@
-From cd12d9dd2bea8e4580f458df77229477fc55ba70 Mon Sep 17 00:00:00 2001
-From: James Hilliard <[email protected]>
-Date: Wed, 14 May 2025 14:17:40 -0600
-Subject: [PATCH] Update cmake_minimum_required to 3.5
-
-This supports compilation with cmake-4.0.0.
-
-Fixes:
-CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
-  Compatibility with CMake < 3.5 has been removed from CMake.
-
-  Update the VERSION argument <min> value.  Or, use the <min>...<max>

syntax
- to tell CMake that the project requires at least <min> but has been updated

meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch deleted +0 -30
-  to work with policies introduced by <max> or earlier.
-
-  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-
-Signed-off-by: James Hilliard <[email protected]>
-Upstream-Status: Backport [cd12d9dd2bea8e4580f458df77229477fc55ba70]
----
- CMakeLists.txt     | 2 +-
- src/CMakeLists.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 796d7bc..0a11730 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2,7 +2,7 @@
- #
- # SPDX-License-Identifier:     LGPL-2.1-or-later
-
--cmake_minimum_required (VERSION 2.6)
-+cmake_minimum_required (VERSION 3.5)
- project (libubootenv C)
-
- # The version number.
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index c56d0c7..3370232 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -1,7 +1,7 @@
- # SPDX-FileCopyrightText: 2019-2021 Stefano Babic <

[email protected]>
- #
- # SPDX-License-Identifier: LGPL-2.1-or-later
--cmake_minimum_required (VERSION 2.6)
-+cmake_minimum_required (VERSION 3.5)
- # Sources and private headers
- SET(libubootenv_SOURCES

meta/recipes-bsp/u-boot/libubootenv/0001-Update-cmake_minimum_required-to-3.5.patch deleted +0 -1
-   uboot_env.c
meta/recipes-bsp/u-boot/libubootenv_0.3.7.bb renamed from meta/recipes-bsp/u-boot/libubootenv_0.3.6.bb +0 -0
similarity index 86%
rename from meta/recipes-bsp/u-boot/libubootenv_0.3.6.bb
rename to meta/recipes-bsp/u-boot/libubootenv_0.3.7.bb
index b63b8ff87d..e7c131e5cd 100644
@@ -11,9 +11,8 @@ LIC_FILES_CHKSUM =

"file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951
SECTION = "libs"

Quoted 3 lines

SRC_URI = "git://
github.com/sbabic/libubootenv;protocol=https;branch=master \

Can please also add ";tag=v${PV}" to SRC_URI

- file://0001-Update-cmake_minimum_required-to-3.5.patch \

Quoted 21 lines
            "
meta/recipes-bsp/u-boot/libubootenv_0.3.7.bb renamed from meta/recipes-bsp/u-boot/libubootenv_0.3.6.bb +1 -2
-SRCREV = "5507339628b5caf244e1ff9d58cb3fa534b16beb"
+SRCREV = "1e3511ed77f794ee5decc0974d54c8e5af26f64c"
 
 inherit cmake lib_package
 
--

2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#228226):
https://lists.openembedded.org/g/openembedded-core/message/228226
Mute This Topic: https://lists.openembedded.org/mt/116858096/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-