From patchwork Sun Mar 17 22:37:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 228333 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 B6CA22C00BE for ; Mon, 18 Mar 2013 09:37:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 43F5930EBD; Sun, 17 Mar 2013 22:37:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mcy+BRpuSGDu; Sun, 17 Mar 2013 22:37:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 11B6925F4A; Sun, 17 Mar 2013 22:37:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 75E7C8F74B for ; Sun, 17 Mar 2013 22:37:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E34538B13D for ; Sun, 17 Mar 2013 22:37:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hY3qTtol-J8V for ; Sun, 17 Mar 2013 22:37:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id E39158BFCA for ; Sun, 17 Mar 2013 22:37:19 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 15so3397099wgd.31 for ; Sun, 17 Mar 2013 15:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=14CuuSoAoy3DgQqneOKtbh0RNJB7NI3cIlzxBkajzYI=; b=aCdmubiIacV61oqa6bt2FcFOQRMt0ORbVrEjI3ZW5xgUmVMow3g706t9DeYc8DzgiW wx4Ss1ipramYwZ1bmpSjJcS1gc3OOPG09dDkByPy7e9vGMsjLWkBM+iWww8kb73V785b DTUe1bXOCkLpFAmGyxSEiIuKL0eOVdlfgsCuQc1dKvLCl9kKA2NEv9VIob/lYqM8i0hr nolL7btT2yT2p2nxU+AqpSxDspDP+YL0Xl0LRuu/M9tnORIzlIEk+C7cd5WHfNbgiofu LseKug0O5Dr4IY3ZSWBbAxmCsfDZ/NF7MaelIdlQWglJywTdzSSaQNWqtK2Css39uN54 FmRQ== X-Received: by 10.180.105.99 with SMTP id gl3mr13313691wib.22.1363559838145; Sun, 17 Mar 2013 15:37:18 -0700 (PDT) Received: from localhost.localdomain (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPS id bs6sm11636544wib.4.2013.03.17.15.37.16 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 Mar 2013 15:37:17 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 17 Mar 2013 23:37:06 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 1/5] fs/ext2: enclose the ext2 options in if...endif 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 Use a 'if...endif' construct instead of repeating the 'depends on' for each symbols. Signed-off-by: "Yann E. MORIN" Acked-by: Arnout Vandecappelle Acked-by: Thomas Petazzoni --- fs/ext2/Config.in | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/ext2/Config.in b/fs/ext2/Config.in index 2af44a8..cb4beed 100644 --- a/fs/ext2/Config.in +++ b/fs/ext2/Config.in @@ -3,25 +3,23 @@ config BR2_TARGET_ROOTFS_EXT2 help Build an ext2 root filesystem +if BR2_TARGET_ROOTFS_EXT2 + config BR2_TARGET_ROOTFS_EXT2_BLOCKS int "size in blocks (leave at 0 for auto calculation)" - depends on BR2_TARGET_ROOTFS_EXT2 default 0 config BR2_TARGET_ROOTFS_EXT2_INODES int "inodes (leave at 0 for auto calculation)" - depends on BR2_TARGET_ROOTFS_EXT2 default 0 config BR2_TARGET_ROOTFS_EXT2_RESBLKS int "reserved blocks percentage" - depends on BR2_TARGET_ROOTFS_EXT2 default 0 choice prompt "Compression method" default BR2_TARGET_ROOTFS_EXT2_NONE - depends on BR2_TARGET_ROOTFS_EXT2 help Select compressor for ext2 filesystem of the root filesystem @@ -47,3 +45,4 @@ config BR2_TARGET_ROOTFS_EXT2_LZMA endchoice +endif # BR2_TARGET_ROOTFS_EXT2