From patchwork Mon Sep 28 11:42:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 1372568 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=L7y1xmtF; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C0LHG247kz9sPB for ; Mon, 28 Sep 2020 21:42:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F332185725; Mon, 28 Sep 2020 11:42:43 +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 IMr-m8ot8hXW; Mon, 28 Sep 2020 11:42:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 951ED85631; Mon, 28 Sep 2020 11:42:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 42BC01BF3C1 for ; Mon, 28 Sep 2020 11:42:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3F37C86FC4 for ; Mon, 28 Sep 2020 11:42:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HxK0CSN1BH1O for ; Mon, 28 Sep 2020 11:42:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2B9DB86F7E for ; Mon, 28 Sep 2020 11:42:39 +0000 (UTC) Received: by mail-ej1-f52.google.com with SMTP id z23so7980466ejr.13 for ; Mon, 28 Sep 2020 04:42:39 -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:mime-version :content-transfer-encoding; bh=Nw3zIN4LMKX5a2Fo9sC3qPM1d1XS1ma7eNFqunMaWKw=; b=L7y1xmtFU6f0BpBpIeE9696gngO345KWJegX/yvvANNIuLkFwAp9lPUwiGmi3pxoCT FM+BWjKP316RWmlKVV4I+wxc+G/g6WZ8VvbF/Eq18fzS62frn3vG/aI0m2huqB8MEnfK odUAwJx2Sc9sbsdpUvCcZKSOKzhFXr4VjB/KUb9E69IqVBE2EfFXfZNwgyWaynvhRX+z tbO5CpH0x4HTn48EfCCeGInXpPAXFozkNwveiYfGGpJq6LDI324l/5082pHgHZ0x6LM0 fAuFUU4dYzXk4qglsD16l/nrI8TRgkWOJCcRugjvShLfUu0xJsgI0RIjeufJIag83q8e 5VHg== 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:mime-version :content-transfer-encoding; bh=Nw3zIN4LMKX5a2Fo9sC3qPM1d1XS1ma7eNFqunMaWKw=; b=pfrHIOaWaNGq/Fui34jI2g81LSQVg9MOb56ygqjJUgwRB8/+0c27mFBxVafchKF1G8 5gjlxnwBa7ZC4ZFjEK8bo80MG3USVHYjEiZgH85Tr7yW3weUKPP6P2BZKMenvnqeQdMw z+S2t7UVyzHz+pBb2eZYsOMHnsatnktFKbaBiEzMkZEWWS/hTTqQcXLtURHwPyPw1dkN LIYfLN0N7ywhutqTeeHaOWG68G/xb14zHW0paC9NSsmHBFOC8qh7K2c1M/PtMNLnHwwz IcqOHBemTrnfj9I7yROQjAJGHXiyERSqMpVbt+tXfhv0wWMJlh6nLW2DDWsPiSJqC60i B4mg== X-Gm-Message-State: AOAM532tqqZqANsmfjhDgW+vBp5DWcGGwAdkEyKiOaKg3xnYEpwWehSM yJ95ZTjNmTNcecvZ4/AbRK9XOrWytBFx6w== X-Google-Smtp-Source: ABdhPJzrBJWCrXxwjnWxu2NpqGDSETf8uyarlinD+bK4S5Z1uxz9nMRyVYvo+oNOEVD5rcbuglXyJA== X-Received: by 2002:a17:906:46d5:: with SMTP id k21mr1164738ejs.247.1601293357326; Mon, 28 Sep 2020 04:42:37 -0700 (PDT) Received: from localhost (ptr-5gw9txf6g5tndjqqqz.18120a2.ip6.access.telenet.be. [2a02:1810:510:3800:1b15:18e4:57d1:eb]) by smtp.gmail.com with ESMTPSA id l10sm1188557edr.12.2020.09.28.04.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 04:42:36 -0700 (PDT) From: Thomas De Schampheleire To: buildroot@buildroot.org Date: Mon, 28 Sep 2020 13:42:26 +0200 Message-Id: <20200928114228.23637-1-patrickdepinguin@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/zstd: avoid compilation during host-zstd install step X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrey Smirnov , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Thomas De Schampheleire The host-zstd-build step was not actually compiling the library: make[1]: Entering directory '/buildroot/output/build/host-zstd-1.4.5/lib' make[1]: Nothing to be done for 'default'. make[1]: Leaving directory '/buildroot/output/build/host-zstd-1.4.5/lib' and the actual compilation was part of the install step. This is not how other Buildroot packages work. Make sure to specify which library targets we want instead. The total amount of compiled files does not change with this patch. Signed-off-by: Thomas De Schampheleire --- package/zstd/zstd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/zstd/zstd.mk b/package/zstd/zstd.mk index e2ba12b058..35002da332 100644 --- a/package/zstd/zstd.mk +++ b/package/zstd/zstd.mk @@ -71,7 +71,7 @@ endef # note: no 'HAVE_...' options for host library build only define HOST_ZSTD_BUILD_CMDS $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ - -C $(@D)/lib + -C $(@D)/lib libzstd.a libzstd $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ -C $(@D) zstd endef