From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay05.ispgateway.de ([80.67.31.94]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S7Xfk-0002gq-Sx for ptxdist@pengutronix.de; Tue, 13 Mar 2012 20:46:18 +0100 Received: from [88.217.113.15] (helo=localhost) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1S7Xfj-00050f-E5 for ptxdist@pengutronix.de; Tue, 13 Mar 2012 20:46:16 +0100 From: Bernhard Walle Date: Tue, 13 Mar 2012 20:45:59 +0100 Message-Id: <1331667959-53687-3-git-send-email-bernhard@bwalle.de> In-Reply-To: <1331667959-53687-1-git-send-email-bernhard@bwalle.de> References: <1331667959-53687-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH 2/2] mtd-utils.in: Add busybox dependencies Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Some tools that mtd-utils provide can be also provided by busybox. Add the dependencies here as done in other configuration files to prevent the user from misconfiguration. Signed-off-by: Bernhard Walle --- rules/mtd-utils.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in index 87396f9..b12d5f9 100644 --- a/rules/mtd-utils.in +++ b/rules/mtd-utils.in @@ -49,9 +49,13 @@ config MTD_UTILS_FLASH_ERASEALL config MTD_UTILS_FLASH_LOCK bool prompt "flash_lock" + depends on !BUSYBOX_FLASH_LOCK || ALLYES help This utility locks one or more sectors of flash device. +comment "busybox' flash_lock is selected!" + depends on BUSYBOX_FLASH_LOCK + config MTD_UTILS_FLASH_OTP_DUMP bool prompt "flash_otp_dump" @@ -67,15 +71,23 @@ config MTD_UTILS_FLASH_OTP_INFO config MTD_UTILS_FLASH_UNLOCK bool prompt "flash_unlock" + depends on !BUSYBOX_FLASH_UNLOCK || ALLYES help This utility unlock all sectors of flash device. +comment "busybox' flash_unlock is selected!" + depends on BUSYBOX_FLASH_UNLOCK + config MTD_UTILS_FLASHCP bool prompt "flashcp" + depends on !BUSYBOX_FLASHCP || ALLYES help Flash Copy - Written by Abraham van der Merwe +comment "busybox' flashcp is selected!" + depends on BUSYBOX_FLASHCP + config MTD_UTILS_FTL_CHECK bool prompt "ftl_check" @@ -120,10 +132,14 @@ config MTD_UTILS_MTDDEBUG config MTD_UTILS_NANDDUMP bool prompt "nanddump" + depends on !BUSYBOX_NANDDUMP || ALLYES help This utility dumps the contents of raw NAND chips or NAND chips contained in DoC devices. +comment "busybox' nanddump is selected!" + depends on BUSYBOX_NANDDUMP + config MTD_UTILS_NANDTEST bool prompt "nandtest" @@ -133,11 +149,15 @@ config MTD_UTILS_NANDTEST config MTD_UTILS_NANDWRITE bool prompt "nandwrite" + depends on !BUSYBOX_NANDWRITE || ALLYES help This utility writes a binary image directly to a NAND flash chip or NAND chips contained in DoC devices. This is the "inverse operation" of nanddump. +comment "busybox' nandwrite is selected!" + depends on BUSYBOX_NANDWRITE + config MTD_UTILS_NFTL_FORMAT bool prompt "nftl_format" @@ -200,9 +220,13 @@ if MTD_UTILS_UBI_UTILS config MTD_UTILS_UBIATTACH bool prompt "ubiattach" + depends on !BUSYBOX_UBIATTACH || ALLYES help Attach an ubi device to a mtd device +comment "busybox' ubiattach is selected!" + depends on BUSYBOX_UBIATTACH + config MTD_UTILS_UBICRC32 bool prompt "ubicrc32" @@ -212,9 +236,13 @@ config MTD_UTILS_UBICRC32 config MTD_UTILS_UBIDETACH bool prompt "ubidetach" + depends on !BUSYBOX_UBIDETACH || ALLYES help Detach an ubi device from a mtd device +comment "busybox' ubidetach is selected!" + depends on BUSYBOX_UBIDETACH + config MTD_UTILS_UBIFORMAT bool select GCCLIBS_GCC_S -- 1.7.9.2 -- ptxdist mailing list ptxdist@pengutronix.de