From patchwork Fri Mar 15 21:47:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Norbert Lange X-Patchwork-Id: 1057257 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.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.b="Y0mXGwRA"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44LfMM4wvPz9s00 for ; Sat, 16 Mar 2019 08:47:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 165A187EAE; Fri, 15 Mar 2019 21:47:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id orYpSEgFb245; Fri, 15 Mar 2019 21:47:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id EDE5A87EA8; Fri, 15 Mar 2019 21:47:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 6E0221BF35A for ; Fri, 15 Mar 2019 21:47:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6B7B2226D8 for ; Fri, 15 Mar 2019 21:47:51 +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 Wluuu49ryPBl for ; Fri, 15 Mar 2019 21:47:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by silver.osuosl.org (Postfix) with ESMTPS id BC5B72226E for ; Fri, 15 Mar 2019 21:47:50 +0000 (UTC) Received: by mail-wr1-f48.google.com with SMTP id y13so6511081wrd.3 for ; Fri, 15 Mar 2019 14:47:50 -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=ep9vaI0sTth5MFwtJzAgJllbohL3B1uRxRiAzDEu+og=; b=Y0mXGwRAxlrFvfFzyHxn08ELV9k3Ndpvmfvpt/qb2/wRosHr+Y7nDn7xOK+JZsMtCm z6N9Y8H4ov7WLzqK1NhvSwm2tTonma/gurNF4t1XroBWmZyGo8iRQySjVME6XKL9mYy8 6gQCIliszngejqrwH4lXJV6DZD87wSDU9VVBMrCs4/V2ltIL/6tnoD7olx5vz1O4Sap0 xLSzjhgQXVMoG1+/hSL7haqdHltnLc4hsbGGlXfwOwTm/QID06WMONRIQI/SeB1g6w5m 691trYjntP92eB4k377exI2u9IQDW3X32nrpZM5z+c52UVNQQaKt/DbtntGvBjj8jEAL mEZg== 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=ep9vaI0sTth5MFwtJzAgJllbohL3B1uRxRiAzDEu+og=; b=MUuUCbDSK9tnsYmMniL9aHDaKKNWWheh3zrtjXf+/y2BooIp7aT8Hh4+85WcksMgub +1/+6lvsCm2ls7QVFqVa0H+5gEwCM1USd7BCSDu7/la2+WZ8BRwX5gylZbmtff/jmaP9 qmb8wJl32J9App2lJ4gBkJresPFwfSSI4KNrlVT0biMFAI481AL2bWhH0qNrXIigsOWW qWIR6An/GOkgN4AxmEaRnxO4dc00v/Aa6Vl6LLS4ZfxrCT22vjN24/JfFxmoMqD0TBx1 8NwktpBnN8mgxcxJtnSYSfaP4dSOXU5X5ZLtxhMpOIHc2dcpOCEYDtf+TbOhdAE3iFi0 7VYQ== X-Gm-Message-State: APjAAAVNvTxaYxYDLYJnpA4OMGjveR6X3z0CcVcrO9pcjSy7cnS99jBY JVDvZWDQHkT3H8dQiP1aLgBQvxsygpE= X-Google-Smtp-Source: APXvYqyKFTJkcSVJW1wd1nHIYin4hPOJL+j2w0uAjApyODYP43BhW02z4yuzG0ecaARPdEANzP2z4w== X-Received: by 2002:adf:eac6:: with SMTP id o6mr3670599wrn.77.1552686469101; Fri, 15 Mar 2019 14:47:49 -0700 (PDT) Received: from localhost.localdomain (84-114-45-16.cable.dynamic.surfer.at. [84.114.45.16]) by smtp.gmail.com with ESMTPSA id s5sm6733205wra.77.2019.03.15.14.47.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Mar 2019 14:47:48 -0700 (PDT) From: Norbert Lange To: buildroot@buildroot.org Date: Fri, 15 Mar 2019 22:47:39 +0100 Message-Id: <20190315214740.4212-1-nolange79@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] pkg-generic: Depend on host-{xz, lzip} only for fitting archives 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: Norbert Lange Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" results in cleaner dependency graphs, and usually omits host-lzip from being built. Signed-off-by: Norbert Lange --- package/pkg-generic.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 4353bd3868..89da43d5e5 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -607,12 +607,16 @@ $(2)_EXTRACT_DEPENDENCIES += $$(BR2_TAR_HOST_DEPENDENCY) endif ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate,$(1)),) +ifneq ($$(filter .xz .lzma,$$(suffix $$($(2)_SOURCE))),) $(2)_EXTRACT_DEPENDENCIES += $$(BR2_XZCAT_HOST_DEPENDENCY) endif +endif ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate,$(1)),) +ifeq ($$(suffix $$($(2)_SOURCE)),.lz) $(2)_EXTRACT_DEPENDENCIES += $$(BR2_LZIP_HOST_DEPENDENCY) endif +endif ifeq ($$(BR2_CCACHE),y) ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate host-ccache,$(1)),) From patchwork Fri Mar 15 21:47:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Norbert Lange X-Patchwork-Id: 1057258 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.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.b="DI6KI/jM"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44LfMT34Mlz9s00 for ; Sat, 16 Mar 2019 08:48:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AA26487EC3; Fri, 15 Mar 2019 21:48:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e-H3pjpfTzes; Fri, 15 Mar 2019 21:48:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C65FE87EB1; Fri, 15 Mar 2019 21:48:02 +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 501F21BF35A for ; Fri, 15 Mar 2019 21:48:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4D633868A2 for ; Fri, 15 Mar 2019 21:48:01 +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 wJvDVv0VEX2E for ; Fri, 15 Mar 2019 21:47:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 2C6F586892 for ; Fri, 15 Mar 2019 21:47:59 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id w1so5100227wrp.2 for ; Fri, 15 Mar 2019 14:47:59 -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 :mime-version:content-transfer-encoding; bh=ZcppeBB2a134zo5FDFKeEfMZAPkUSBTFfC/Z6yPQCxU=; b=DI6KI/jMHOczsjkNTwaSzi+ZMTDD/zZ/kA5WHOZlkxR/nKT4aCQdMOpcoRPlOP1WOD kU5M8exhMMLpRv1rvJCbmE1GkXKZOFWqLhTZfa96YNwtPpDxPB4qVFFulJ0Rib8vaJfL VWU2IxPhQoXT2sYTBkE0byY+e5m2lJAM7DtSYQfPg89i99j+mWnEA/SbJIp3gvQzblta 22uKZU5jK/yC1u/AdOfUF17myavyF216xIalLfehdEXeWiqa/U0MoahKxYL7ve4FTyJ+ avKWxAL4uIyvZOiOgrBh7bJdOx8bf5iAFuKnucfOsYSg76i+eSv5TXSSGyyNfPjg3Ed1 EIuw== 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:mime-version:content-transfer-encoding; bh=ZcppeBB2a134zo5FDFKeEfMZAPkUSBTFfC/Z6yPQCxU=; b=lyoamalJ8VECucjJRp0fvT+QwMPOa6cth1EeiHgz0uyuxo3UD2bo+qcMtH/fFhIdHl Lk66zERYFrf1rOYYYPHFELXZVe8A9t6t//1XyIpROWqCa32sXN8Qde7x9nGq7vDBoolU BAPdJxN9JprRNxdYDP9d9vSCDoCv5AI0H8TeCnP05vCDk0J1Mp+eoyEWcl2M/JoPUGOv ljIdq+LrpOA+qwAyS4LP5ZR/0gjfVnSf+dKY7IZAi+XNb8lYg3OymnOe048hikGmzIhz 7af75DbGdNl0VrMr8ZTtYc495abzcP0PsG02lcFJOwK1VgNHvckxfzIOoNUMkHMVv5mB CvmQ== X-Gm-Message-State: APjAAAUAkwojPPSPJiye7RLyxG7wQgVnOPrusnKBt0bgFA7zUqKLvVhv UUpyAzP5eLOjGK6nK5A2zTCHUIZbz50= X-Google-Smtp-Source: APXvYqxgNkOlSrZj9Qfsn9Cj/Auo8afT8/hn9KYHTd5Ji5GoM57/M7yHJVtsfLyl/IfnXuixdv7BOQ== X-Received: by 2002:a5d:6448:: with SMTP id d8mr4041095wrw.257.1552686477453; Fri, 15 Mar 2019 14:47:57 -0700 (PDT) Received: from localhost.localdomain (84-114-45-16.cable.dynamic.surfer.at. [84.114.45.16]) by smtp.gmail.com with ESMTPSA id s5sm6733205wra.77.2019.03.15.14.47.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Mar 2019 14:47:56 -0700 (PDT) From: Norbert Lange To: buildroot@buildroot.org Date: Fri, 15 Mar 2019 22:47:40 +0100 Message-Id: <20190315214740.4212-2-nolange79@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190315214740.4212-1-nolange79@gmail.com> References: <20190315214740.4212-1-nolange79@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] pkg-generic: Cleanup some redundant checks 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: Norbert Lange Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Norbert Lange --- package/pkg-generic.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 89da43d5e5..11f16cab18 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -604,18 +604,15 @@ endif ifeq ($$(filter host-tar host-skeleton host-fakedate,$(1)),) $(2)_EXTRACT_DEPENDENCIES += $$(BR2_TAR_HOST_DEPENDENCY) -endif -ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate,$(1)),) ifneq ($$(filter .xz .lzma,$$(suffix $$($(2)_SOURCE))),) $(2)_EXTRACT_DEPENDENCIES += $$(BR2_XZCAT_HOST_DEPENDENCY) endif -endif -ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate,$(1)),) ifeq ($$(suffix $$($(2)_SOURCE)),.lz) $(2)_EXTRACT_DEPENDENCIES += $$(BR2_LZIP_HOST_DEPENDENCY) endif + endif ifeq ($$(BR2_CCACHE),y)