mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>, bth@kamstrup.com
Subject: [ptxdist] [PATCH v2 5/5] host-squashfs-tools: fix lz4 compression option
Date: Mon, 20 Jul 2020 16:50:32 +0200	[thread overview]
Message-ID: <20200720145032.4274-5-bruno.thomsen@gmail.com> (raw)
In-Reply-To: <20200720145032.4274-1-bruno.thomsen@gmail.com>

Conditional select host-lz4 package if lz4 compressions is
used by image-root-squashfs and enable support in package.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
No changes since version 1.

 rules/host-squashfs-tools.in   | 1 +
 rules/host-squashfs-tools.make | 1 +
 2 files changed, 2 insertions(+)

diff --git a/rules/host-squashfs-tools.in b/rules/host-squashfs-tools.in
index 9e50784dd..f8e44ef1d 100644
--- a/rules/host-squashfs-tools.in
+++ b/rules/host-squashfs-tools.in
@@ -4,6 +4,7 @@ config HOST_SQUASHFS_TOOLS
 	tristate
 	select HOST_ZLIB
 	select HOST_LIBLZO	if IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_LZO
+	select HOST_LZ4		if IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_LZ4
 	select HOST_XZ		if IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_XZ
 	select HOST_ZSTD	if IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_ZSTD
 	default y if ALLYES
diff --git a/rules/host-squashfs-tools.make b/rules/host-squashfs-tools.make
index 42d24ad89..f71687e05 100644
--- a/rules/host-squashfs-tools.make
+++ b/rules/host-squashfs-tools.make
@@ -23,6 +23,7 @@ HOST_SQUASHFS_TOOLS_SUBDIR	:= squashfs-tools
 
 HOST_SQUASHFS_TOOLS_MAKE_OPT := \
 	LZO_SUPPORT=$(call ptx/ifdef, PTXCONF_IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_LZO,1,0) \
+	LZ4_SUPPORT=$(call ptx/ifdef, PTXCONF_IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_LZ4,1,0) \
 	XZ_SUPPORT=$(call ptx/ifdef, PTXCONF_IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_XZ,1,0) \
 	ZSTD_SUPPORT=$(call ptx/ifdef, PTXCONF_IMAGE_ROOT_SQUASHFS_COMPRESSION_MODE_ZSTD,1,0)
 
-- 
2.26.2


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

      parent reply	other threads:[~2020-07-20 14:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-20 14:50 [ptxdist] [PATCH v2 1/5] host-zstd: new package Bruno Thomsen
2020-07-20 14:50 ` [ptxdist] [PATCH v2 2/5] image-root-squashfs: add zstd compression option Bruno Thomsen
2020-07-20 14:50 ` [ptxdist] [PATCH v2 3/5] host-squashfs-tools: add support for zstd contitional Bruno Thomsen
2020-07-24  7:54   ` Michael Olbrich
2020-07-20 14:50 ` [ptxdist] [PATCH v2 4/5] host-squashfs-tools: conditional select lzo and xz dependencies Bruno Thomsen
2020-07-24  7:54   ` Michael Olbrich
2020-07-20 14:50 ` Bruno Thomsen [this message]

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=20200720145032.4274-5-bruno.thomsen@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