package/mtd: fix tests compiling when disabled
Upstream changed the '--enable-tests' switch to '--with-tests' in release 2.2.0 See https://github.com/sigma-star/mtd-utils/commit/edc83b61745e6ee7fa9c9502eb520493832b1e9c Fixes: - http://autobuild.buildroot.net/results/52a289c7033005b7a29b0f2bc6aa5056cbdabb34/ Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
1eb7d2b860
commit
77211ae347
+3
-3
@@ -56,9 +56,9 @@ MTD_CONF_OPTS += --disable-ubihealthd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MTD_TESTS),y)
|
||||
MTD_CONF_OPTS += --enable-tests
|
||||
MTD_CONF_OPTS += --with-tests
|
||||
else
|
||||
MTD_CONF_OPTS += --disable-tests
|
||||
MTD_CONF_OPTS += --without-tests
|
||||
endif
|
||||
|
||||
# If extended attributes are required, the acl package must
|
||||
@@ -75,7 +75,7 @@ HOST_MTD_CONF_OPTS = \
|
||||
--with-jffs \
|
||||
--with-ubifs \
|
||||
--without-crypto \
|
||||
--disable-tests
|
||||
--without-tests
|
||||
|
||||
MKFS_JFFS2 = $(HOST_DIR)/sbin/mkfs.jffs2
|
||||
SUMTOOL = $(HOST_DIR)/sbin/sumtool
|
||||
|
||||
Reference in New Issue
Block a user