[PATCH] make dos partition support default yes if we have disk partition support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DOS partitions are the only partitions we handle at the moment
and without it most MMC/SD enabled configs are useless, so make
it default yes. Also, use 'depends on' instead of 'if'

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
Cc: Juergen Beisert <jbe@xxxxxxxxxxxxxx>
---
 common/Kconfig |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/common/Kconfig b/common/Kconfig
index 1318e7d..27464d1 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -406,24 +406,20 @@ config PARTITION
 	bool
 	prompt "Enable Partitions"
 
-if PARTITION
-
 config PARTITION_DISK
+	depends on PARTITION
 	bool "DISK partition support"
 	help
 	  Add support for handling common partition tables on all kind of disk
 	  like devices (harddisks, CF cards, SD cards and so on)
 
-if PARTITION_DISK
-
 config PARTITION_DISK_DOS
+	depends on PARTITION_DISK
+	default y
 	bool "DOS partition support"
 	help
 	  Add support to handle partitions in DOS style.
 
-endif
-endif
-
 config DEFAULT_ENVIRONMENT
 	bool
 	default y
-- 
1.7.7.3


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux