mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/mtd: fix tests compiling when disabled
Upstream changed the '--enable-tests' switch to '--with-tests' in
release 2.2.0
See edc83b6174
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
@@ -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