From patchwork Thu Mar 7 20:45:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 225945 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 4A5BC2C0377 for ; Fri, 8 Mar 2013 07:47:11 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 63161A01F6; Thu, 7 Mar 2013 20:47:11 +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 bMDYzR6dQVal; Thu, 7 Mar 2013 20:47:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 00CC4A020C; Thu, 7 Mar 2013 20:46:21 +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 EF44E8F74B for ; Thu, 7 Mar 2013 20:46:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 52E903121D for ; Thu, 7 Mar 2013 20:46:13 +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 Bnp6n-Yj4xIj for ; Thu, 7 Mar 2013 20:46:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by silver.osuosl.org (Postfix) with ESMTP id 52FAE3092C for ; Thu, 7 Mar 2013 20:46:12 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id D47D1DFD; Thu, 7 Mar 2013 21:46:13 +0100 (CET) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 953CD1E18 for ; Thu, 7 Mar 2013 21:45:51 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Thu, 7 Mar 2013 21:45:30 +0100 Message-Id: <1362689131-1479-9-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362689131-1479-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1362689131-1479-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH v2 8/8] gptfdisk: factorize the BR2_PACKAGE_GPTFDISK dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: Thomas Petazzoni --- package/gptfdisk/Config.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package/gptfdisk/Config.in b/package/gptfdisk/Config.in index 1cdd8eb..1b0639d 100644 --- a/package/gptfdisk/Config.in +++ b/package/gptfdisk/Config.in @@ -1,3 +1,6 @@ +comment "gptfdisk requires a toolchain with LARGEFILE/WCHAR/C++ support enabled" + depends on !(BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) + config BR2_PACKAGE_GPTFDISK bool "gptfdisk" depends on BR2_LARGEFILE @@ -14,9 +17,10 @@ config BR2_PACKAGE_GPTFDISK http://www.rodsbooks.com/gdisk/ +if BR2_PACKAGE_GPTFDISK + config BR2_PACKAGE_GPTFDISK_GDISK bool "interactive gdisk" - depends on BR2_PACKAGE_GPTFDISK help Install the interactive GUID partition table (GPT) manipulator /usr/sbin/gdisk which is modelled after and quite similar in use @@ -24,7 +28,6 @@ config BR2_PACKAGE_GPTFDISK_GDISK config BR2_PACKAGE_GPTFDISK_SGDISK bool "command line sgdisk" - depends on BR2_PACKAGE_GPTFDISK select BR2_PACKAGE_POPT help Install the command-line GUID partition table (GPT) manipulator @@ -33,11 +36,9 @@ config BR2_PACKAGE_GPTFDISK_SGDISK config BR2_PACKAGE_GPTFDISK_CGDISK bool "ncurses cgdisk" - depends on BR2_PACKAGE_GPTFDISK select BR2_PACKAGE_NCURSES help Install the ncurses-based GUID partition table (GPT) manipulator /usr/sbin/cgdisk. -comment "gptfdisk requires a toolchain with LARGEFILE/WCHAR/C++ support enabled" - depends on !(BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) +endif