[Buildroot] [git commit] package/mtd: update to 2.3.0
Peter Korsgaard
peter at korsgaard.com
Fri May 16 11:53:18 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=0c230eef9075a37248488ecf0a877012115f7b58
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Changelog: https://git.infradead.org/?p=mtd-utils.git;a=blob;f=CHANGELOG.md
The TestMtd build fails with the following error
checking pkg-config is at least version 0.9.0... ./configure: line
5375: .../output/TestMtd/host/bin/pkg-config: No such file or
directory
So we promote host-pkgconf to be a required dependency for the build.
Signed-off-by: Brandon Maier <brandon.maier at collins.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/mtd/mtd.hash | 4 ++--
package/mtd/mtd.mk | 9 +++++----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/package/mtd/mtd.hash b/package/mtd/mtd.hash
index 0eb90a5118..84b9e83bff 100644
--- a/package/mtd/mtd.hash
+++ b/package/mtd/mtd.hash
@@ -1,4 +1,4 @@
# Locally calculated after checking pgp signature
-# https://infraroot.at/pub/mtd/mtd-utils-2.2.1.tar.bz2.asc
-sha256 f7ae20b2eb79ee83441468f0b99d897024cd96ff853eea59106fb1952065c803 mtd-utils-2.2.1.tar.bz2
+# https://infraroot.at/pub/mtd/mtd-utils-2.3.0.tar.bz2.asc
+sha256 2db102908b232406ccb20719c0f43b61196aef4534493419fbf98a273c598c10 mtd-utils-2.3.0.tar.bz2
sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 77050e7e40..4ff43a1dce 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -4,7 +4,7 @@
#
################################################################################
-MTD_VERSION = 2.2.1
+MTD_VERSION = 2.3.0
MTD_SOURCE = mtd-utils-$(MTD_VERSION).tar.bz2
MTD_SITE = https://infraroot.at/pub/mtd
MTD_LICENSE = GPL-2.0
@@ -12,6 +12,7 @@ MTD_LICENSE_FILES = COPYING
MTD_CPE_ID_VENDOR = mtd-utils_project
MTD_CPE_ID_PRODUCT = mtd-utils
MTD_INSTALL_STAGING = YES
+MTD_DEPENDENCIES = host-pkgconf
MTD_LDFLAGS = $(TARGET_LDFLAGS)
@@ -28,7 +29,7 @@ MTD_CONF_OPTS += --without-lzo
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
-MTD_DEPENDENCIES += host-pkgconf zlib
+MTD_DEPENDENCIES += zlib
MTD_CONF_OPTS += --with-zlib
else
MTD_CONF_OPTS += --without-zlib
@@ -43,7 +44,7 @@ MTD_CONF_OPTS += --without-jffs
endif
ifeq ($(BR2_PACKAGE_MTD_UBIFS_UTILS),y)
-MTD_DEPENDENCIES += util-linux host-pkgconf
+MTD_DEPENDENCIES += util-linux
MTD_CONF_OPTS += --with-ubifs
# crypto needs linux/hash_info.h
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12)$(BR2_PACKAGE_OPENSSL),yy)
@@ -83,7 +84,7 @@ else
MTD_CONF_OPTS += --without-xattr
endif
-HOST_MTD_DEPENDENCIES = host-acl host-zlib host-lzo host-util-linux host-zstd
+HOST_MTD_DEPENDENCIES = host-pkgconf host-acl host-zlib host-lzo host-util-linux host-zstd
HOST_MTD_CONF_OPTS = \
--with-jffs \
--with-ubifs \
More information about the buildroot
mailing list