mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de, Bruno Thomsen <bruno.thomsen@gmail.com>,
	Bruno Thomsen <bth@kamstrup.com>
Subject: Re: [ptxdist] [PATCH 3/5] host-squashfs-tools: add support for zstd contitional
Date: Fri, 17 Jul 2020 08:46:19 +0200	[thread overview]
Message-ID: <CAH+2xPDUTJ1=vSE02VJqtvzakpGapXya9o3AfoEc-qUEV60Cpg@mail.gmail.com> (raw)
In-Reply-To: <20200717063547.GF27485@pengutronix.de>

Den fre. 17. jul. 2020 kl. 08.35 skrev Michael Olbrich
<m.olbrich@pengutronix.de>:
>
> On Thu, Jul 16, 2020 at 07:38:03PM +0200, Bruno Thomsen wrote:
> > Only enable host zstd package dependency when needed,
> > so it doesn't build unnecessary packages.
> >
> >
> > -HOST_SQUASHFS_TOOLS_MAKE_OPT := LZO_SUPPORT=1 XZ_SUPPORT=1
> > -HOST_SQUASHFS_TOOLS_MAKE_ENV := $(HOST_ENV) EXTRA_LDFLAGS="-L$(PTXDIST_SYSROOT_HOST)/lib/xz"
> > +HOST_SQUASHFS_TOOLS_MAKE_OPT := \
> > +     LZO_SUPPORT=1 \
> > +     XZ_SUPPORT=1 \
> > +     ZSTD_SUPPORT=$(call ptx/ifdef, PTXCONF_IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_ZSTD,1,0)
> > +
> > +HOST_SQUASHFS_TOOLS_MAKE_ENV := \
> > +     $(HOST_ENV) \
> > +     EXTRA_LDFLAGS="-L$(PTXDIST_SYSROOT_HOST)/lib/xz -L$(PTXDIST_SYSROOT_HOST)/usr/local/lib64" \
> > +     CPPFLAGS="-I$(PTXDIST_SYSROOT_HOST)/usr/local/include"
>
> The /usr/local paths should not be necessary with the fixed host-zstd
> package.

Hi Michael,

Thanks for the review.
It makes sense, I will fix that in the next version.

There are some cross rules optimizations in the next patches,
they remove the compile of some unneeded packages in my example
but it might break something I don't know.

/Bruno

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2020-07-17  6:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16 17:38 [ptxdist] [PATCH 1/5] host-zstd: new package Bruno Thomsen
2020-07-16 17:38 ` [ptxdist] [PATCH 2/5] image-root-squashfs: add zstd compression option Bruno Thomsen
2020-07-16 17:38 ` [ptxdist] [PATCH 3/5] host-squashfs-tools: add support for zstd contitional Bruno Thomsen
2020-07-17  6:35   ` Michael Olbrich
2020-07-17  6:46     ` Bruno Thomsen [this message]
2020-07-16 17:38 ` [ptxdist] [PATCH 4/5] host-squashfs-tools: conditional select lzo and xz dependencies Bruno Thomsen
2020-07-16 17:38 ` [ptxdist] [PATCH 5/5] host-squashfs-tools: fix lz4 compression option Bruno Thomsen
2020-07-17  6:34 ` [ptxdist] [PATCH 1/5] host-zstd: new package 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='CAH+2xPDUTJ1=vSE02VJqtvzakpGapXya9o3AfoEc-qUEV60Cpg@mail.gmail.com' \
    --to=bruno.thomsen@gmail.com \
    --cc=bth@kamstrup.com \
    --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