diff options
author | Bruno Thomsen <bruno.thomsen@gmail.com> | 2020-07-24 17:50:59 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-07-30 12:10:35 +0200 |
commit | 76c201c5faaea8ed1abc0fd0085686641c24eb91 (patch) | |
tree | afa0de5c75c7d9b1d4514722f8fc6e18b5795da0 | |
parent | bc551a5e08979696290de26ec6fb38c2457ae79e (diff) | |
download | ptxdist-76c201c5faaea8ed1abc0fd0085686641c24eb91.tar.gz ptxdist-76c201c5faaea8ed1abc0fd0085686641c24eb91.tar.xz |
host-zstd: new package
This package can be used by squashfs-tools.
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Message-Id: <20200724155103.6374-1-bruno.thomsen@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/host-zstd.in | 6 | ||||
-rw-r--r-- | rules/host-zstd.make | 42 |
2 files changed, 48 insertions, 0 deletions
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..bebfb150c --- /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_OPT) \ + -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 |