package/mtd: disable crypto for host
PATCH 1/1 package/mtd: disable crypto for host
Commit f1d1347bde41d35630d65898d27d87b99a519cb8 added the optional openssl dependency for mtd however nothing was done for host-mtd
As a result, crypto support on host-mtd depends on the availability of host-openssl which is not listed in HOST_MTD_DEPENDENCIES
Moreover, crypto support needs host linux-headers as it includes <linux/hash_info.h> since version 2.1.2 and
https://github.com/sigma-star/mtd-utils/commit/a739b59efe7996e3bdcbe8b17743dc05ac7c110a
So just disable crypto support for host-mtd
Fixes:
- http://autobuild.buildroot.org/results/e581bd04e1902476afcdc9d9e34f5fb00fcd31be
--- package/mtd/mtd.mk | 1 + 1 file changed, 1 insertion(+)
package/mtd/mtd.mk +1 -0
@@ -56,6 +56,7 @@ HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux host-zstd HOST_MTD_CONF_OPTS = \ --with-jffs \ --with-ubifs \ + --without-crypto \ --disable-tests MKFS_JFFS2 = $(HOST_DIR)/sbin/mkfs.jffs2
Signature · 1 line
2.27.0
Thomas Petazzoni
AppliedPATCH 1/1 package/mtd: disable crypto for host
Quoted 12 lines · On Sat, 18 Jul 2020 11:03:46 +0200 Fabrice Fontaine…
Commit
f1d1347bde41d35630d65898d27d87b99a519cb8added the optional openssl dependency for mtd however nothing was done for host-mtdAs a result, crypto support on host-mtd depends on the availability of host-openssl which is not listed in
HOST_MTD_DEPENDENCIESMoreover, crypto support needs host linux-headers as it includes <
linux/hash_info.h> since version 2.1.2 and
https://github.com/sigma-star/mtd-utils/commit/a739b59efe7996e3bdcbe8b17743dc05ac7c110aSo just disable crypto support for host-mtd
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/e581bd04e1902476afcdc9d9e34f5fb00fcd31beSigned-off-by Fabrice Fontaine <[email protected]>--- package/mtd/mtd.mk | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com