mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>, bth@kamstrup.com
Subject: Re: [ptxdist] [PATCH 1/5] host-zstd: new package
Date: Fri, 17 Jul 2020 08:34:06 +0200	[thread overview]
Message-ID: <20200717063406.GE27485@pengutronix.de> (raw)
In-Reply-To: <20200716173805.7467-1-bruno.thomsen@gmail.com>

On Thu, Jul 16, 2020 at 07:38:01PM +0200, Bruno Thomsen wrote:
> This package can be used by squashfs-tools.
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> ---
>  rules/host-zstd.in   |  6 ++++++
>  rules/host-zstd.make | 42 ++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 48 insertions(+)
>  create mode 100644 rules/host-zstd.in
>  create mode 100644 rules/host-zstd.make
> 
> diff --git a/rules/host-zstd.in b/rules/host-zstd.in
> new file mode 100644
> index 000000000..18d291672
> --- /dev/null
> +++ b/rules/host-zstd.in
> @@ -0,0 +1,6 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_ZSTD
> +	tristate
> +	select HOST_CMAKE
> +	default y if ALLYES
> diff --git a/rules/host-zstd.make b/rules/host-zstd.make
> new file mode 100644
> index 000000000..e6096d0de
> --- /dev/null
> +++ b/rules/host-zstd.make
> @@ -0,0 +1,42 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Bruno Thomsen <bruno.thomsen@gmail.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_HOST_ZSTD) += host-zstd
> +
> +#
> +# Paths and names
> +#
> +HOST_ZSTD_DIR		:= $(HOST_BUILDDIR)/$(ZSTD)
> +HOST_ZSTD_SUBDIR	:= build/cmake
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_ZSTD_CONF_TOOL	:= cmake
> +HOST_ZSTD_BUILD_DIR	:= $(HOST_ZSTD_DIR)-build
> +HOST_ZSTD_CONF_OPT	:= \
> +	$(HOST_CMAKE_USR) \

	$(HOST_CMAKE_OPT) \

HOST_CMAKE_USR is not defined.

This will set the prefix correctly.

Michael

> +	-B$(HOST_ZSTD_BUILD_DIR) \
> +	-DZSTD_LEGACY_SUPPORT=OFF \
> +	-DZSTD_MULTITHREAD_SUPPORT=ON \
> +	-DZSTD_BUILD_PROGRAMS=ON \
> +	-DZSTD_BUILD_CONTRIB=OFF \
> +	-DZSTD_BUILD_TESTS=OFF \
> +	-DZSTD_USE_STATIC_RUNTIME=OFF \
> +	-DZSTD_PROGRAMS_LINK_SHARED=ON \
> +	-DZSTD_BUILD_STATIC=OFF \
> +	-DZSTD_BUILD_SHARED=ON \
> +	-DZSTD_ZLIB_SUPPORT=OFF \
> +	-DZSTD_LZMA_SUPPORT=OFF \
> +	-DZSTD_LZ4_SUPPORT=OFF
> +
> +# vim: syntax=make
> 
> base-commit: 9fe5462616de2ce93663f409f471ea83a6d5fbb5
> -- 
> 2.26.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
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-17  6:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16 17:38 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
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 ` Michael Olbrich [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=20200717063406.GE27485@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=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