]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - usr/Kconfig
bzip2/lzma: move CONFIG_RD_* options under CONFIG_EMBEDDED
[net-next-2.6.git] / usr / Kconfig
index 43a3a0fe8f29b3637bcd49eb0d3824d5da67d2a6..5166078d45f2dae85150ac79a4c0cf342fc83fe4 100644 (file)
@@ -46,27 +46,27 @@ config INITRAMFS_ROOT_GID
          If you are not sure, leave it set to "0".
 
 config RD_GZIP
-       bool "Initial ramdisk compressed using gzip"
+       bool "Initial ramdisk compressed using gzip" if EMBEDDED
        default y
-       depends on BLK_DEV_INITRD=y
+       depends on BLK_DEV_INITRD
        select DECOMPRESS_GZIP
        help
          Support loading of a gzip encoded initial ramdisk or cpio buffer.
          If unsure, say Y.
 
 config RD_BZIP2
-       bool "Initial ramdisk compressed using bzip2"
-       default n
-       depends on BLK_DEV_INITRD=y
+       bool "Initial ramdisk compressed using bzip2" if EMBEDDED
+       default !EMBEDDED
+       depends on BLK_DEV_INITRD
        select DECOMPRESS_BZIP2
        help
          Support loading of a bzip2 encoded initial ramdisk or cpio buffer
          If unsure, say N.
 
 config RD_LZMA
-       bool "Initial ramdisk compressed using lzma"
-       default n
-       depends on BLK_DEV_INITRD=y
+       bool "Initial ramdisk compressed using lzma" if EMBEDDED
+       default !EMBEDDED
+       depends on BLK_DEV_INITRD
        select DECOMPRESS_LZMA
        help
          Support loading of a lzma encoded initial ramdisk or cpio buffer