From patchwork Mon Oct 16 21:59:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 826532 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hZadxpnw"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yGC0J3qJFz9sRq for ; Tue, 17 Oct 2017 08:59:28 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E098D2D437; Mon, 16 Oct 2017 21:59:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7vNgytMGyJ57; Mon, 16 Oct 2017 21:59:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7A5192F33E; Mon, 16 Oct 2017 21:59:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C662A1CEC57 for ; Mon, 16 Oct 2017 21:59:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C0B8F8479A for ; Mon, 16 Oct 2017 21:59:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HhVbS0yd3Cxp for ; Mon, 16 Oct 2017 21:59:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by fraxinus.osuosl.org (Postfix) with ESMTPS id BC41384762 for ; Mon, 16 Oct 2017 21:59:20 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id x7so16813749pfa.1 for ; Mon, 16 Oct 2017 14:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rw4wpP91TL8dYCeoG5me2MHzw5u15DqxUv0/81pXmSk=; b=hZadxpnw9m7QW51Axl1qOjcblNtc5WVwhGk6tWdVHdjkeVDRAPyJyBYkq8H8aoMV7c xovU0tYGKG0TEFoAApCmTH5g7TS2yQmIl5Y+F7ruibTFIJ+hphu5lkyA3lt3T3RF5vGv 7857IuEZo19iBYJmzZ0Gk35pmsHdBzqOjcilWfZzWRfW2xE3d+9LEXKyXKuH5lLigGEE gJOtB2qjBmFUU+kJqJOJlc6kliFPJkfcsTTxY5A6hLUmTiWzGWVDVt/+HTBxj4d5Z2CE EkVqi0Rq8mIu8EgrPq+pcyV53un1rIlzbzd8nZJKgRCTkaPPQmbPywJ663LV3VxuQuuJ Wpug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rw4wpP91TL8dYCeoG5me2MHzw5u15DqxUv0/81pXmSk=; b=rwE0dOmJik/QV9a6PM8UDLhWrkF+3isfKt1KUFtvc6WYsqIY512qW2WXeyV/0q2R7/ u/7hjwVIuCVDBIW9BStvSHm9jB8+Qxxl9o1cNACqE2K/EAT8GA/KRWRL+JsNmxjxtVin uYWOzrEbYnWwFIRWrjVdcDXcFPVHEmbsssr/7eSgJG3ip1vzknEUJ4MD19ojFYZq25e4 /HjT6vdvwI/OIE861/ZHhCPjttw83jxmKoufau8DnLQRfDIwStuD3TEt+QeEnpbs+z2U fomjRKULqoERgcgBRgiYZKnXAInqoFSHkK8woy1jZeDRd4KAl8NVTSJ2gK1xWFq027JT xyHw== X-Gm-Message-State: AMCzsaUobif3NSzYEFfieSOIYcl1uv1I4JlrXBmfK8CmtMaoXI8dEnsE N1NcbTzitlI5AhuHTGSnQIaHENJi X-Google-Smtp-Source: ABhQp+SPQb8Bnuz197Iy61ZcoQO1nzarVe6QdF+8vumDg2URsJ84nDM1HJcIm+vxvoCIZSBx8/3qYA== X-Received: by 10.84.132.42 with SMTP id 39mr3372539ple.382.1508191160226; Mon, 16 Oct 2017 14:59:20 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc ([2001:df5:b000:22:3a2c:4aff:fe70:2b02]) by smtp.gmail.com with ESMTPSA id f10sm14765118pgr.8.2017.10.16.14.59.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Oct 2017 14:59:19 -0700 (PDT) From: Chris Packham To: buildroot@buildroot.org Date: Tue, 17 Oct 2017 10:59:02 +1300 Message-Id: <20171016215904.3380-2-judge.packham@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171016215904.3380-1-judge.packham@gmail.com> References: <20171016215904.3380-1-judge.packham@gmail.com> Cc: Andrey Smirnov , Thomas Petazzoni , "Yann E . MORIN" Subject: [Buildroot] [PATCH 1/3] zstd: install to staging directory X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Install libzstd to the staging directory. Signed-off-by: Chris Packham --- package/zstd/zstd.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/zstd/zstd.mk b/package/zstd/zstd.mk index 089d654749..f149ad2f91 100644 --- a/package/zstd/zstd.mk +++ b/package/zstd/zstd.mk @@ -6,6 +6,7 @@ ZSTD_VERSION = v1.3.2 ZSTD_SITE = $(call github,facebook,zstd,$(ZSTD_VERSION)) +ZSTD_INSTALL_STAGING = YES ZSTD_LICENSE = BSD-3-Clause, GPL-2.0 ZSTD_LICENSE_FILES = LICENSE COPYING @@ -46,4 +47,9 @@ define ZSTD_INSTALL_TARGET_CMDS DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/programs install endef +define ZSTD_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ + DESTDIR=$(STAGING_DIR) PREFIX=/usr -C $(@D)/lib install +endef + $(eval $(generic-package))