mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2 2/4] barebox: depend on HOST_LZOP
Date: Thu, 13 Dec 2018 14:34:13 +0100	[thread overview]
Message-ID: <20181213133413.p623smlhbmjwn5v5@pengutronix.de> (raw)
In-Reply-To: <fff69facea12cbb6c90f14d638ac81ffe26193a1.camel@allegion.com>

On Thu, Dec 13, 2018 at 01:02:50PM +0000, Baeuerle, Florian wrote:
> Am Donnerstag, den 13.12.2018, 12:16 +0100 schrieb Michael Olbrich:
> > On Wed, Dec 12, 2018 at 02:52:54PM +0000, Baeuerle, Florian wrote:
> > > The version shipped by ptxdist allows us to override the modification
> > > time in the lzop headers.
> > > 
> > > Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com>
> > > ---
> > >  platforms/barebox.in | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/platforms/barebox.in b/platforms/barebox.in
> > > index 645366e93..46ab32a07 100644
> > > --- a/platforms/barebox.in
> > > +++ b/platforms/barebox.in
> > > @@ -12,7 +12,7 @@ menuconfig BAREBOX
> > >  	select HOST_LIBUSB if BAREBOX_NEEDS_HOST_LIBUSB
> > >  	select HOST_OPENSSL if BAREBOX_NEEDS_HOST_OPENSSL
> > >  	select HOST_IMX_CST if BAREBOX_NEEDS_HOST_IMX_CST
> > > -	select HOST_LZOP if BAREBOX_NEEDS_HOST_LZOP
> > > +	select HOST_LZOP if BAREBOX_NEEDS_HOST_LZOP ||
> > > !SETUP_DISABLE_REPRODUCIBLE
> > 
> > This does not work. You will need to enable BAREBOX_NEEDS_HOST_LZOP
> > manually if lzop is used by barebox.
> 
> Oops, you're right – in the platformconfig menu all SETUP_ symbols seem to be
> undefined. Anyway, it's probably a bad idea to depend on regenerating a
> platformconfig when the user en/disables user properties.
> 
> Can I just make barebox unconditionally depend on HOST_LZOP?
> 
> Other suggestions?

Why not leave it as is? lzop is not always used in barebox. You should
enable BAREBOX_NEEDS_HOST_LZOP if lzop compression is used in barebox.
That's the use-case for this option.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-12-13 13:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-12 14:52 [ptxdist] [PATCH v2 1/4] config/setup: make reproducible builds configurable Baeuerle, Florian
2018-12-12 14:52 ` [ptxdist] [PATCH v2 2/4] barebox: depend on HOST_LZOP Baeuerle, Florian
2018-12-13 11:16   ` Michael Olbrich
2018-12-13 13:02     ` Baeuerle, Florian
2018-12-13 13:34       ` Michael Olbrich [this message]
2018-12-14 11:54         ` Baeuerle, Florian
2018-12-12 14:52 ` [ptxdist] [PATCH v2 3/4] barebox: add support for reproducible build Baeuerle, Florian
2018-12-12 14:52 ` [ptxdist] [PATCH v2 4/4] barebox_mlo: " Baeuerle, Florian
2018-12-21 10:06 ` [ptxdist] [PATCH v3 1/3] config/setup: make reproducible builds configurable Baeuerle, Florian
2018-12-21 10:07   ` [ptxdist] [PATCH v3 2/3] barebox: add support for reproducible build Baeuerle, Florian
2018-12-21 10:07   ` [ptxdist] [PATCH v3 3/3] barebox_mlo: " Baeuerle, Florian
2019-02-08  9:33   ` [ptxdist] [PATCH v3 1/3] config/setup: make reproducible builds configurable Baeuerle, Florian
2019-02-08 13:48   ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181213133413.p623smlhbmjwn5v5@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox