From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jw7pm-0005DD-5X for ptxdist@pengutronix.de; Thu, 16 Jul 2020 19:38:14 +0200 Received: by mail-ej1-x644.google.com with SMTP id br7so7483015ejb.5 for ; Thu, 16 Jul 2020 10:38:14 -0700 (PDT) From: Bruno Thomsen Date: Thu, 16 Jul 2020 19:38:05 +0200 Message-Id: <20200716173805.7467-5-bruno.thomsen@gmail.com> In-Reply-To: <20200716173805.7467-1-bruno.thomsen@gmail.com> References: <20200716173805.7467-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 5/5] host-squashfs-tools: fix lz4 compression option List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bruno Thomsen , bth@kamstrup.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 --- 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 a453ae18a..9f7140c60 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