summaryrefslogtreecommitdiffstats
path: root/usr/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-01-04 16:02:31 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2020-01-14 02:42:44 +0100
commitddd09bcc899fd374fe5567d9c35894a304f9e492 (patch)
tree25c2c88b52e603232e2b2e9907673ec16c486312 /usr/Kconfig
parentinitramfs: remove redundant dependency on BLK_DEV_INITRD (diff)
downloadlinux-ddd09bcc899fd374fe5567d9c35894a304f9e492.tar.xz
linux-ddd09bcc899fd374fe5567d9c35894a304f9e492.zip
initramfs: make compression options not depend on INITRAMFS_SOURCE
Even if INITRAMFS_SOURCE is empty, usr/gen_initramfs.sh generates a tiny default initramfs, which is embedded in vmlinux. So, defining INITRAMFS_COMPRESSION* options should be valid irrespective of INITRAMFS_SOURCE. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'usr/Kconfig')
-rw-r--r--usr/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/Kconfig b/usr/Kconfig
index 72f50a21c051..43934c128010 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -102,7 +102,6 @@ config RD_LZ4
choice
prompt "Built-in initramfs compression mode"
- depends on INITRAMFS_SOURCE!=""
optional
help
This option allows you to decide by which algorithm the builtin
@@ -211,7 +210,6 @@ config INITRAMFS_COMPRESSION_LZ4
endchoice
config INITRAMFS_COMPRESSION
- depends on INITRAMFS_SOURCE!=""
string
default "" if INITRAMFS_COMPRESSION_NONE
default ".gz" if INITRAMFS_COMPRESSION_GZIP