From patchwork Sun Feb 25 22:10:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 877637 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lg3py6GC"; 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 3zqK0g501Xz9s2R for ; Mon, 26 Feb 2018 09:10:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C653122683; Sun, 25 Feb 2018 22:10:54 +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 iHaWixYL9fzK; Sun, 25 Feb 2018 22:10:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9C28022644; Sun, 25 Feb 2018 22:10:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7B7261C0EBE for ; Sun, 25 Feb 2018 22:10:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7674486771 for ; Sun, 25 Feb 2018 22:10:51 +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 PASFep4NFRde for ; Sun, 25 Feb 2018 22:10:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 767C286761 for ; Sun, 25 Feb 2018 22:10:50 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id x7so11446809wmc.0 for ; Sun, 25 Feb 2018 14:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NNG+xLhXscQGzZnJO+xn9O8bTjUZ16s6oLq/rCatEZQ=; b=lg3py6GClFqyp29HC1W92d2vJE6J0FVCsj1gH0FFuoXbqQSM8bR4kZuLjwrMdIVLIv +tMImMFxH48M1Hpzi0IXqc8MzTj0RsGr0m4Q/zbtbotqzykM8ZQi8sSrYz1zkyy/KUCe Kmo8IA0cHXFvdq5xSpo4+vdQ6+3nUg9S2j1ZPvCqBA6sMr9JtEmFnvbL5o53VPKbQbvo po8QK7SGAErBhu00mPL3v3M9jsw3Ff4Uzkwwjw4fX+VQq+FIObox4jF22eSwc3eE+qDO 9Cu7yNRxN0J7TT9G7VjVE/VSOD5dRfVPCusACc9Xx9lYk4wBCzG7eu9c8LXn4PYs+JkL poOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=NNG+xLhXscQGzZnJO+xn9O8bTjUZ16s6oLq/rCatEZQ=; b=Y+nOe6Io9KwkSeZjUEbEnphO6LfOb8n02Mnz6UGRwSyDPB2kF9QGhd9II95gZDgn08 6v/F1DLfbX00s0GY74TtnhQ8YDx48WLJeTuuoA2vvVMKQwLqWxXtiqZX1EWBnb9gMfO8 kdeNiAp4pS/fcb1XkMHz+uKlfYqwd1TwqJPU6DREPKKnuQ+w1qabWKnIe0KoLzNCzziy D4KVTLbVFPmu0cgnP8rm9B6F0ZSNtLnzNW0tGD9UtDc8Z54QIvCWKpvclk+dUcE5OGYO Ly8gAjeIZpbUMhXxmk56ClABnpbzGfFJGrEzUV0uMaoRuvjr/71F6S36PpcZTHg+JZrZ J0gA== X-Gm-Message-State: APf1xPAJut0Jc8LXYLMdtHsoTwP3KvRill4TJVX5KC3MD8+lBYamrna1 RkYhNLhadG3738XlMCfmd9rLBQ== X-Google-Smtp-Source: AG47ELunm4W+rxVC6JEXZOV9v+fwWCAfOV8xY5ZN/Qt0dbGyct1KV6iUUMV7B3FXmWr+yiMoPrEWdw== X-Received: by 10.28.202.21 with SMTP id a21mr6355366wmg.101.1519596648841; Sun, 25 Feb 2018 14:10:48 -0800 (PST) Received: from scaer.bzh.lan (2a01cb0886107300a556795e0851f8aa.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:a556:795e:851:f8aa]) by smtp.gmail.com with ESMTPSA id k130sm8881864wmg.9.2018.02.25.14.10.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Feb 2018 14:10:47 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 25 Feb 2018 23:10:43 +0100 Message-Id: <20180225221043.7517-1-yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/zlib: zlib-ng only available on some archs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Adam Duskett , =?utf-8?q?Stefan_Fr=C3=B6berg?= , "Yann E. MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Upstream has code only for those architectures, with no fallback generic code, so we must restrict zlib-ng to only those four archs... Signed-off-by: "Yann E. MORIN" Cc: Nicolas Cavallari Cc: Adam Duskett Cc: Stefan Fröberg Cc: Thomas Petazzoni --- Note: I was not sure if the big-endian variants for arm and Aarch64 are supported or not, so to be safe, we supopse they are not. Interested parties can send further patches to improve the situation. --- package/zlib/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/zlib/Config.in b/package/zlib/Config.in index 87abc2bdd5..40b2e6e0cf 100644 --- a/package/zlib/Config.in +++ b/package/zlib/Config.in @@ -1,3 +1,10 @@ +config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPOPRT + bool + default y if BR2_arm + default y if BR2_aarch64 + default y if BR2_i386 + default y if BR2_x86_64 + config BR2_PACKAGE_ZLIB bool "zlib support" help @@ -22,6 +29,7 @@ config BR2_PACKAGE_LIBZLIB config BR2_PACKAGE_ZLIB_NG bool "zlib-ng" + depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPOPRT select BR2_PACKAGE_HAS_ZLIB help Zlib replacement with optimizations for