All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mtd: disable crypto for host
@ 2020-07-18  9:03 Fabrice Fontaine
  2020-07-18 13:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-07-18  9:03 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/mtd/mtd.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 74b19c7e4a..8220a5ace8 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -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
-- 
2.27.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/mtd: disable crypto for host
  2020-07-18  9:03 [Buildroot] [PATCH 1/1] package/mtd: disable crypto for host Fabrice Fontaine
@ 2020-07-18 13:30 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-07-18 13:30 UTC (permalink / raw)
  To: buildroot

On Sat, 18 Jul 2020 11:03:46 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> 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
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/mtd/mtd.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-18 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-18  9:03 [Buildroot] [PATCH 1/1] package/mtd: disable crypto for host Fabrice Fontaine
2020-07-18 13:30 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.