[Buildroot] [PATCH 3/3] mtd: be explicit about config options for the host
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jul 7 08:02:18 UTC 2017
Hello,
On Fri, 7 Jul 2017 00:57:59 +0200, Arnout Vandecappelle wrote:
> On 06-07-17 22:58, Thomas Petazzoni wrote:
> > Instead of letting auto-detection do its job, be explicit about the
> > fact that we want the JFFS2 and UBIFS utilities when building the host
> > variant of mtd.
> >
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> > ---
> > package/mtd/mtd.mk | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
> > index 3bac2d5..807f559 100644
> > --- a/package/mtd/mtd.mk
> > +++ b/package/mtd/mtd.mk
> > @@ -45,7 +45,10 @@ MTD_CONF_OPTS += --without-xattr
> > endif
> >
> > HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux
> > -HOST_MTD_CONF_OPTS = --disable-tests
> > +HOST_MTD_CONF_OPTS = \
> > + --with-jffs \
> > + --with-ubifs \
>
> If you do this, it would also seem natural to add
>
> --without-xattr --with-lzo
Indeed for --without-xattr. However, we don't pass
--with-lzo/--without-lzo for the target variant. Perhaps we should as
well.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list