From patchwork Thu Apr 11 22:17:50 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: 235937 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 3E5582C00C8 for ; Fri, 12 Apr 2013 08:18:23 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C81C2268AB; Thu, 11 Apr 2013 22:18:20 +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 6E8zC39Q25fF; Thu, 11 Apr 2013 22:18:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 80ABF319FE; Thu, 11 Apr 2013 22:18:16 +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 0E5568F7A2 for ; Thu, 11 Apr 2013 22:18:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5BCAF8F7BB for ; Thu, 11 Apr 2013 22:18:13 +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 dJzTxlZ-6McJ for ; Thu, 11 Apr 2013 22:18:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7FD118F774 for ; Thu, 11 Apr 2013 22:18:11 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id c10so1110335wiw.2 for ; Thu, 11 Apr 2013 15:18:09 -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=gPy2eAoho7ityO0iRRSu+QG8QZHVzB0T+m1ooMXHKDB2T9vjse894nX1MIrDLuCC5D C0bNu+ykurcYV9DmOCOXCN2bH1BJqy8hvk2oKPK14uZ6CzuFaRzbfLM5wcAoFWjEd0Aw GbTEtY1ZHbJSlWwnPPxAsf8jWgiGQmJMODdJQQkSqX31whuFVyjyXq7aeuW4PMqMWXj5 UtwgJknPFvRjH8snH3WeuUmXSdcMJn1n5/lKAcj+wLwTrxcGGDZPwJWn7pyWpUO5UeZn GyqyfL7JFlRw7d9fKnSHOpLNhJhXlPoQ8gt2sCy8FGoTzy739zHDhSVB9N0JTCLWSpD4 pRzw== X-Received: by 10.194.104.137 with SMTP id ge9mr7937031wjb.52.1365718689803; Thu, 11 Apr 2013 15:18:09 -0700 (PDT) Received: from localhost.localdomain (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPS id ej8sm68677wib.9.2013.04.11.15.18.08 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 11 Apr 2013 15:18:09 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Fri, 12 Apr 2013 00:17:50 +0200 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