[openwrt/openwrt] tools: mtd-utils: fix disabling tests
LEDE Commits
lede-commits at lists.infradead.org
Tue Jun 25 08:57:12 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/10293403534b452133a4e1027622a5444da0a4be
commit 10293403534b452133a4e1027622a5444da0a4be
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sun Jun 23 23:52:45 2024 +0200
tools: mtd-utils: fix disabling tests
Passing --disable-tests does not do anything since upstream commit [0]
("Fix test binary installation") as that commit removed it since there is
already and existing --without-tests compile option to not compile
the tests at all as --disable-tests was just disabling their installation.
So, lets just pass --without-tests instead to disable test compilation.
[0] https://git.infraroot.at/mtd-utils.git/commit/?id=7170a28d46d5db1e7a9da24a5555a194a233ef0b
Fixes: 67efb6a66146 ("tools: mtd-utils: Update to version 2.1.4")
Link: https://github.com/openwrt/openwrt/pull/15791
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
tools/mtd-utils/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/mtd-utils/Makefile b/tools/mtd-utils/Makefile
index db96708906..f53dbdcc4e 100644
--- a/tools/mtd-utils/Makefile
+++ b/tools/mtd-utils/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mtd-utils
PKG_VERSION:=2.2.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://infraroot.at/pub/mtd/
@@ -33,7 +33,7 @@ HOST_CONFIGURE_VARS+= \
UUID_CFLAGS="-I$(STAGING_DIR_HOST)/include/e2fsprogs/uuid"
HOST_CONFIGURE_ARGS+= \
- --disable-tests \
+ --without-tests \
--without-crypto \
--without-xattr \
--without-zstd \
More information about the lede-commits
mailing list