summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-30 09:41:49 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-30 09:41:49 +0200
commitf579c1c6c9c173e3184a027e5e2650b50535a2ae (patch)
tree43098abf25c3a92aec784a658a6425b7c1d55419 /target
parentaf45b9e0c6564984e6acecb51887597fc6861eea (diff)
allow to choose compression for kernel and initramfs as mentioned by Balaton
Diffstat (limited to 'target')
-rw-r--r--target/linux/config/Config.in.kernel18
1 files changed, 12 insertions, 6 deletions
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 499456b06..273ab91eb 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -136,7 +136,8 @@ config ADK_KERNEL_COMP_XZ
select ADK_KERNEL_RD_XZ
select ADK_KERNEL_KERNEL_XZ
select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
- depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
+ depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
+ || ADK_TARGET_GENERIC
config ADK_KERNEL_COMP_LZ4
bool "use LZ4 compression"
@@ -144,35 +145,40 @@ config ADK_KERNEL_COMP_LZ4
select ADK_KERNEL_KERNEL_LZ4
select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
- depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
+ depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
+ || ADK_TARGET_GENERIC
config ADK_KERNEL_COMP_LZMA
bool "use LZMA compression"
select ADK_KERNEL_RD_LZMA
select ADK_KERNEL_KERNEL_LZMA
select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
- depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
+ depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
+ || ADK_TARGET_GENERIC
config ADK_KERNEL_COMP_LZO
bool "use LZO compression"
select ADK_KERNEL_RD_LZO
select ADK_KERNEL_KERNEL_LZO
select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
- depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
+ depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
+ || ADK_TARGET_GENERIC
config ADK_KERNEL_COMP_BZIP2
bool "use BZIP2 compression"
select ADK_KERNEL_RD_BZIP2
select ADK_KERNEL_KERNEL_BZIP2
select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
- depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
+ depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
+ || ADK_TARGET_GENERIC
config ADK_KERNEL_COMP_GZIP
bool "use GZIP compression"
select ADK_KERNEL_RD_GZIP
select ADK_KERNEL_KERNEL_GZIP
select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
- depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
+ depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
+ || ADK_TARGET_GENERIC
config ADK_KERNEL_COMPRESS_NONE
bool "use no compression"