author: Florian Fainelli <f.fainelli@gmail.com> 2017-06-02 14:46:22 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2017-06-02 15:07:37 -0700
commit: 57ddfdaa9a72fe726a44d26d99db31bc137dbeff
parent: 4f4f2ba9c531b3d7cee293dd3654ba3b86e7d220
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/usr/Kconfig b/usr/Kconfig
index c0c48507e44e..ad0543e21760 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -220,6 +220,7 @@ config INITRAMFS_COMPRESSION_LZ4
endchoice
config INITRAMFS_COMPRESSION
+ depends on INITRAMFS_SOURCE!=""
string
default "" if INITRAMFS_COMPRESSION_NONE
default ".gz" if INITRAMFS_COMPRESSION_GZIP