initramfs: do not show compression mode choice if INITRAMFS_SOURCE is empty
[sfrench/cifs-2.6.git] / usr / Kconfig
index 529caab1a328b3d56eeccbd6c7ae62a6cff6debd..bdf5bbd40727e7bd3af324ea8c37894c732d5993 100644 (file)
@@ -102,6 +102,7 @@ config RD_LZ4
 
 choice
        prompt "Built-in initramfs compression mode"
+       depends on INITRAMFS_SOURCE != ""
        help
          This option allows you to decide by which algorithm the builtin
          initramfs will be compressed.  Several compression algorithms are