Skip to content

Commit

Permalink
tools: mtd-utils: fix disabling tests
Browse files Browse the repository at this point in the history
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: 67efb6a ("tools: mtd-utils: Update to version 2.1.4")
Link: openwrt#15791
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
robimarko committed Jun 25, 2024
1 parent e07cc32 commit 1029340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/mtd-utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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 \
Expand Down

0 comments on commit 1029340

Please sign in to comment.