From patchwork Wed Jan 14 09:18:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 428910 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 476D314029C for ; Wed, 14 Jan 2015 20:52:40 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 235C531188; Wed, 14 Jan 2015 09:52:39 +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 yl4eJ1FwC94K; Wed, 14 Jan 2015 09:52:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0AB783208D; Wed, 14 Jan 2015 09:52:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 75CE21C2329 for ; Wed, 14 Jan 2015 09:52:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 708043126B for ; Wed, 14 Jan 2015 09:52:36 +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 vHS2d8RA1xZO for ; Wed, 14 Jan 2015 09:52:35 +0000 (UTC) X-Greylist: delayed 00:33:34 by SQLgrey-1.7.6 Received: from marvin.crapouillou.net (rev33.vpn.fdn.fr [80.67.179.33]) by silver.osuosl.org (Postfix) with ESMTPS id 5A3C031188 for ; Wed, 14 Jan 2015 09:52:35 +0000 (UTC) Received: from pd9e2fcb1.dip0.t-ipconnect.de ([217.226.252.177] helo=carl.fritz.box) by marvin.crapouillou.net with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from ) id 1YBK6K-00064S-KG; Wed, 14 Jan 2015 10:18:56 +0100 From: Paul Cercueil To: buildroot@uclibc.org Date: Wed, 14 Jan 2015 10:18:36 +0100 Message-Id: <1421227116-22976-1-git-send-email-paul@crapouillou.net> X-Mailer: git-send-email 2.1.4 Cc: Paul Cercueil Subject: [Buildroot] [PATCH] lightning: Require a BR toolchain for disassembler support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Disassembler support in Lightning requires libopcodes to be installed. We cannot assume that an external toolchain will provide it. As such, we now require a Buildroot toolchain for this option to be enabled. This fixes the following build issue: http://autobuild.buildroot.net/results/ed7/ed7abf07f5f870ac332ed909f3cd1d92a2b8d75c/ Signed-off-by: Paul Cercueil --- package/lightning/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/lightning/Config.in b/package/lightning/Config.in index 8caf39f..3e5c133 100644 --- a/package/lightning/Config.in +++ b/package/lightning/Config.in @@ -14,6 +14,7 @@ config BR2_PACKAGE_LIGHTNING_DISASSEMBLER bool "enable disassembler" select BR2_PACKAGE_BINUTILS select BR2_PACKAGE_ZLIB + depends on BR2_TOOLCHAIN_BUILDROOT depends on !BR2_aarch64 && !BR2_nios2 # binutils depends on BR2_USE_WCHAR # binutils help @@ -23,4 +24,7 @@ comment "lightning disassembler needs a toolchain w/ wchar" depends on !BR2_aarch64 && !BR2_nios2 depends on !BR2_USE_WCHAR +comment "lightning disassembler requires a buildroot toolchain" + depends on !BR2_TOOLCHAIN_BUILDROOT + endif