From patchwork Tue Apr 23 21:24:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1089787 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.133; helo=hemlock.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="sgZsiZhd"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44pc0T6FlDz9s9y for ; Wed, 24 Apr 2019 07:24:41 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id ED864861D1; Tue, 23 Apr 2019 21:24:37 +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 9YoIzebIM9NU; Tue, 23 Apr 2019 21:24:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 475F486221; Tue, 23 Apr 2019 21:24:36 +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 3CF8E1BF589 for ; Tue, 23 Apr 2019 21:24:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 34E8E86DF3 for ; Tue, 23 Apr 2019 21:24:35 +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 SWq7eBUaBVBN for ; Tue, 23 Apr 2019 21:24:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4C27C86E26 for ; Tue, 23 Apr 2019 21:24:34 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id o12so18745530wrn.2 for ; Tue, 23 Apr 2019 14:24:34 -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=r2v8PsXTWzm86/MaX8jS9AC4e2eWawShjTr6MjN0Sos=; b=sgZsiZhdQMymsZj+1c34/7KwnS1VFlHXlfQ33DpKOmwgZjYACVNwk84O4pn7hIcuSv +xSVGju92Bgb46kSZ5zYOJEAyUZNXKyJpHVmeC88Wxlhi/KI0CJJ1FL/SEtGTw0qoNDQ 3jsc/UfHFftANOQhCy86bthRCPKD/m/fyxN9RmsNj18IAeD02Q+XZbciAqZgIUWBv+x/ +WW5pqZXBwlii8eqxRo8J9FebF2dwsOHVv+/Ma8LTSATIFhgH8i9bsJxMRLgbUOo8MAW h8zNmrMG11EP9wp55umsCZBWAuHMu7udXeQx5n3Y/C+FgMLuZ6fjIsb1fk8GcxJS+IQt iCfw== 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=r2v8PsXTWzm86/MaX8jS9AC4e2eWawShjTr6MjN0Sos=; b=O5qgbAj7szTzIbOaiXZXaDB/O+LGjY23320Osx34eM4SNL7ZX62imwOxkGVxwaZqHV l3Vo+QotoLPRa5SqKMgACbd+iijcuL4tMaIqF/mzn46ZI6qfmshZ5ySFLhx3kHkZANVR oMskaYeswadJz2q/kp+AYdvpp9+crw4L8r/3ZlWan+W7fSHSYHu2mK2x/k77F57Lk3l0 mELU/9oJ64aXlB91wKDdyWoY2o846CfhX++CIda+OAl+LAHD2EkAk4+z5Msex86A7Mtq xhskHdKCTk3rGXSWqFSDFnCnvMdAxrWSAIrCxvDm07XjkaRZbZMVGlkk83G/+DGYv2R5 K5pA== X-Gm-Message-State: APjAAAUcK/2vSL4LooQ1D/913yx9fTn7Xx+isI+jdHKtPRAkxpcqzwVi ss6E0wC3qk5Ue75uZNhM8T9KOGLa X-Google-Smtp-Source: APXvYqxXwKYAtebbSzWKvOGvbWttZpeMOWKoD5ba6W+GdT7DTbcSLQ6cjz9z4cVJUd6EzvnQSY1CvA== X-Received: by 2002:a05:6000:11cf:: with SMTP id i15mr18033395wrx.287.1556054672352; Tue, 23 Apr 2019 14:24:32 -0700 (PDT) Received: from kali.home (lfbn-ren-1-314-196.w2-10.abo.wanadoo.fr. [2.10.15.196]) by smtp.gmail.com with ESMTPSA id a4sm22889781wmf.45.2019.04.23.14.24.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 14:24:31 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Tue, 23 Apr 2019 23:24:04 +0200 Message-Id: <20190423212406.13909-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190423212406.13909-1-fontaine.fabrice@gmail.com> References: <20190423212406.13909-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/4] package/bind: remove threads dependency 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Threads dependency has been added in 2015 with commit 07c1ad4647b6a8e60338fc01ddcb2d629de0ad14 however bind can be built without threads thanks to --disable-threads Signed-off-by: Fabrice Fontaine --- package/bind/Config.in | 5 ----- package/bind/bind.mk | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package/bind/Config.in b/package/bind/Config.in index 5b34b66f7a..60546f691b 100644 --- a/package/bind/Config.in +++ b/package/bind/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_BIND bool "bind" depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS help BIND (Berkeley Internet Name Domain) is an implementation of the Domain Name System (DNS) protocols @@ -39,7 +38,3 @@ config BR2_PACKAGE_BIND_TOOLS Install tools (dig, host, nslookup, nsupdate) endif - -comment "bind needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/bind/bind.mk b/package/bind/bind.mk index 30a4482db5..372c1cb7e3 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -24,6 +24,7 @@ BIND_CONF_ENV = \ BUILD_CC="$(TARGET_CC)" \ BUILD_CFLAGS="$(TARGET_CFLAGS)" BIND_CONF_OPTS = \ + $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads) \ $(if $(BR2_STATIC_LIBS),--with-dlopen,--without-dlopen) \ --without-lmdb \ --with-libjson=no \