[git commit] make FDISK_SUPPORT_LARGE_DISKS redundant when LFS=y

Denys Vlasenko vda.linux at googlemail.com
Sat Apr 16 16:07:35 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=8c498b6c6e6fd0c218a1ea17d20ec399a5e7501d
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 Config.in             |    1 -
 util-linux/Config.src |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Config.in b/Config.in
index 94414db..d4e14a4 100644
--- a/Config.in
+++ b/Config.in
@@ -566,7 +566,6 @@ config FEATURE_SHARED_BUSYBOX
 config LFS
 	bool "Build with Large File Support (for accessing files > 2 GB)"
 	default y
-	select FDISK_SUPPORT_LARGE_DISKS
 	help
 	  If you want to build BusyBox with large file support, then enable
 	  this option. This will have no effect if your kernel or your C
diff --git a/util-linux/Config.src b/util-linux/Config.src
index 90606bc..bb45705 100644
--- a/util-linux/Config.src
+++ b/util-linux/Config.src
@@ -144,6 +144,7 @@ config FDISK_SUPPORT_LARGE_DISKS
 	bool "Support over 4GB disks"
 	default y
 	depends on FDISK
+	depends on !LFS   # with LFS no special code is needed
 	help
 	  Enable this option to support large disks > 4GB.
 
-- 
1.7.3.4



More information about the busybox-cvs mailing list