diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-12 04:45:03 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-12 04:48:05 +0100 |
commit | 2841218b0aaba29930f742b4eb613f523ee3710b (patch) | |
tree | e9063dcb734b1db781322e0dc3672dd5c378e0dc /target/linux | |
parent | 50d137f8dd4ef7069cf9d160541794db224ffca4 (diff) |
do not allow to build broken kernel images with compression
Some targets do not support compressed kernels or initramfs.
OpenADK combines both, there is no support for mixed setups.
For example Kernel with gzip, initramfs with xz.
Qemu-Metag f.e. can only use uncompressed initramfs.
The kernel could be compressed, but mixed setup isn't
available for now.
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/config/Config.in.kernel | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel index 80485daf8..3f5768fbc 100644 --- a/target/linux/config/Config.in.kernel +++ b/target/linux/config/Config.in.kernel @@ -133,17 +133,16 @@ config ADK_KERNEL_CPU_LITTLE_ENDIAN choice prompt "Kernel compression" -default ADK_KERNEL_COMPRESS_NONE if ADK_TARGET_SYSTEM_MIKROTIK_RB532 \ - || ADK_TARGET_SYSTEM_KINETIS_K70 \ - || ADK_TARGET_SYSTEM_OR1K_SIM default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX +default ADK_KERNEL_COMP_XZ if ADK_TARGET_KERNEL_WITH_COMPRESSION +default ADK_KERNEL_COMPRESS_NONE config ADK_KERNEL_COMP_XZ bool "use XZ compression" select ADK_KERNEL_RD_XZ select ADK_KERNEL_KERNEL_XZ select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ - depends on !ADK_TARGET_UCLINUX + depends on ADK_TARGET_KERNEL_WITH_COMPRESSION config ADK_KERNEL_COMP_LZ4 bool "use LZ4 compression" @@ -151,34 +150,35 @@ 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_UCLINUX + depends on ADK_TARGET_KERNEL_WITH_COMPRESSION 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_UCLINUX + depends on ADK_TARGET_KERNEL_WITH_COMPRESSION 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_UCLINUX + depends on ADK_TARGET_KERNEL_WITH_COMPRESSION 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_UCLINUX + depends on ADK_TARGET_KERNEL_WITH_COMPRESSION 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 config ADK_KERNEL_COMPRESS_NONE bool "use no compression" |