From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jxX7n-0006z4-75 for ptxdist@pengutronix.de; Mon, 20 Jul 2020 16:50:39 +0200 Received: by mail-wr1-x444.google.com with SMTP id y3so807514wrl.4 for ; Mon, 20 Jul 2020 07:50:38 -0700 (PDT) From: Bruno Thomsen Date: Mon, 20 Jul 2020 16:50:28 +0200 Message-Id: <20200720145032.4274-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 1/5] host-zstd: new package 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 This package can be used by squashfs-tools. Signed-off-by: Bruno Thomsen --- Changes since version 1: Replaced HOST_CMAKE_USR with HOST_CMAKE_OPT 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..bebfb150c --- /dev/null +++ b/rules/host-zstd.make @@ -0,0 +1,42 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Bruno Thomsen +# +# 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 base-commit: e37db9dbf300a5921055a47748291dcc580feca0 -- 2.26.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de