From patchwork Thu Mar 22 20:27:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 889621 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=datacom.ind.br Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 406dXb0RGVz9s0v for ; Fri, 23 Mar 2018 07:28:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5861B85FA1; Thu, 22 Mar 2018 20:28:13 +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 68-Hxy_aOND6; Thu, 22 Mar 2018 20:28:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id F1F9B85EAE; Thu, 22 Mar 2018 20:28:11 +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 C70071C0156 for ; Thu, 22 Mar 2018 20:28:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C40C322722 for ; Thu, 22 Mar 2018 20:28:07 +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 fKVxuCUobCDf for ; Thu, 22 Mar 2018 20:28:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by silver.osuosl.org (Postfix) with ESMTPS id D7A752263A for ; Thu, 22 Mar 2018 20:28:05 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 47F9E1BA41F1; Thu, 22 Mar 2018 17:28:05 -0300 (-03) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 31BAB1BA41F9; Thu, 22 Mar 2018 17:28:05 -0300 (-03) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3QKtxR8tLkGI; Thu, 22 Mar 2018 17:28:05 -0300 (-03) Received: from pedeld202344.datacom.net (pedeld202344.datacom.net [10.0.120.87]) by mail.datacom.ind.br (Postfix) with ESMTPSA id EED8B1BA41F1; Thu, 22 Mar 2018 17:28:04 -0300 (-03) From: Carlos Santos To: buildroot@buildroot.org Date: Thu, 22 Mar 2018 17:27:51 -0300 Message-Id: <20180322202752.2562-6-casantos@datacom.ind.br> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180322202752.2562-1-casantos@datacom.ind.br> References: <20180322202752.2562-1-casantos@datacom.ind.br> Subject: [Buildroot] [PATCH 5/6] tpm2-tools: propagate dependencies of selected packages 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - C++ (tpm2-tss) - MMU (dbus, libglib) - threads (libglib) - wchar (libglib -> gettext) Fixes (libglib): http://autobuild.buildroot.net/results/786859fccc477de1519d85d8a180626bb8ebe062 http://autobuild.buildroot.net/results/df6518f331c16b477c6e934914d0e56dc102c228 Signed-off-by: Baruch Siach Signed-off-by: Carlos Santos --- package/tpm2-tools/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/tpm2-tools/Config.in b/package/tpm2-tools/Config.in index 6429b24531..5992cc1174 100644 --- a/package/tpm2-tools/Config.in +++ b/package/tpm2-tools/Config.in @@ -1,5 +1,8 @@ config BR2_PACKAGE_TPM2_TOOLS bool "tpm2-tools" + depends on BR2_USE_MMU # dbus, libglib + depends on BR2_USE_WCHAR # libglib -> gettext + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib select BR2_PACKAGE_DBUS select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_LIBGLIB2 @@ -14,3 +17,8 @@ config BR2_PACKAGE_TPM2_TOOLS implementation. https://github.com/tpm2-software/tpm2-tools + +comment "tpm2-tools needs a toolchain w/ C++, wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ + || !BR2_TOOLCHAIN_HAS_THREADS