浏览代码

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.
Waldemar Brodkorb 9 年之前
父节点
当前提交
2841218b0a
共有 50 个文件被更改,包括 58 次插入8 次删除
  1. 1 0
      target/aarch64/systems/arm-fm
  2. 1 0
      target/aarch64/systems/qemu-aarch64
  3. 1 0
      target/alpha/systems/qemu-alpha
  4. 1 0
      target/arc/systems/nsim-arcv1
  5. 1 0
      target/arc/systems/nsim-arcv2
  6. 1 0
      target/arm/systems/banana-pro
  7. 1 0
      target/arm/systems/beaglebone-black
  8. 1 0
      target/arm/systems/linksys-nslu2
  9. 1 0
      target/arm/systems/qemu-arm-spitz
  10. 1 0
      target/arm/systems/qemu-arm-terrier
  11. 1 0
      target/arm/systems/qemu-arm-versatilepb
  12. 1 0
      target/arm/systems/qemu-arm-vexpress-a9
  13. 1 0
      target/arm/systems/raspberry-pi
  14. 1 0
      target/arm/systems/raspberry-pi2
  15. 1 0
      target/arm/systems/sharp-zaurus
  16. 1 0
      target/arm/systems/solidrun-imx6
  17. 1 0
      target/avr32/systems/atmel-ngw100
  18. 2 0
      target/config/Config.in.kernelfmt
  19. 1 0
      target/cris/systems/qemu-cris
  20. 8 8
      target/linux/config/Config.in.kernel
  21. 1 0
      target/m68k/systems/aranym-m68k
  22. 1 0
      target/m68k/systems/qemu-m68k-mcf5208
  23. 1 0
      target/m68k/systems/qemu-m68k-q800
  24. 1 0
      target/microblaze/systems/qemu-microblaze-ml605
  25. 1 0
      target/microblaze/systems/qemu-microblaze-s3adsp1800
  26. 1 0
      target/mips/systems/dragino-ms14s
  27. 1 0
      target/mips/systems/imgtec-ci20
  28. 1 0
      target/mips/systems/mikrotik-rb4xx
  29. 1 0
      target/mips/systems/qemu-mips
  30. 1 0
      target/mips64/systems/lemote-yeelong
  31. 1 0
      target/mips64/systems/qemu-mips64
  32. 1 0
      target/ppc/systems/mac-mini
  33. 1 0
      target/ppc/systems/qemu-ppc-bamboo
  34. 1 0
      target/ppc/systems/qemu-ppc-macppc
  35. 1 0
      target/ppc64/systems/qemu-ppc64
  36. 1 0
      target/s390/systems/qemu-s390
  37. 1 0
      target/sh/systems/qemu-sh
  38. 1 0
      target/sparc/systems/qemu-sparc
  39. 1 0
      target/sparc/systems/sun-voyager
  40. 1 0
      target/sparc64/systems/qemu-sparc64
  41. 1 0
      target/x86/systems/generic-x86
  42. 1 0
      target/x86/systems/ibm-x40
  43. 1 0
      target/x86/systems/pcengines-alix
  44. 1 0
      target/x86/systems/qemu-x86
  45. 1 0
      target/x86/systems/vbox-x86
  46. 1 0
      target/x86_64/systems/generic-x86_64
  47. 1 0
      target/x86_64/systems/pcengines-apu
  48. 1 0
      target/x86_64/systems/qemu-x86_64
  49. 1 0
      target/xtensa/systems/qemu-xtensa
  50. 1 0
      target/xtensa/systems/xilinx-kintex7

+ 1 - 0
target/aarch64/systems/arm-fm

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_ARM_FM
 	select ADK_CPU_CORTEX_A57
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_KERNEL_IMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_PACKAGE_BOOT_WRAPPER_AARCH64
 	select ADK_TARGET_WITH_SERIAL
 	select ADK_TARGET_WITH_PCI

+ 1 - 0
target/aarch64/systems/qemu-aarch64

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_QEMU_AARCH64
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_IMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu Emulator for AARCH64 architecture.
 

+ 1 - 0
target/alpha/systems/qemu-alpha

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_ALPHA
 	bool "Qemu Emulator"
 	select ADK_CPU_ALPHA
 	select ADK_TARGET_QEMU
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator ALPHA architecture.
 

+ 1 - 0
target/arc/systems/nsim-arcv1

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_NSIM_ARCV1
 	select ADK_CPU_ARC700
 	select ADK_TARGET_WITH_NET
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for NSIM Emulator for ARCv1.
 

+ 1 - 0
target/arc/systems/nsim-arcv2

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_NSIM_ARCV2
 	select ADK_CPU_ARC_HS
 	select ADK_TARGET_WITH_NET
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for NSIM Emulator for ARCv2.
 

+ 1 - 0
target/arm/systems/banana-pro

@@ -17,6 +17,7 @@ config ADK_TARGET_SYSTEM_BANANA_PRO
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_KERNEL_UIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_PACKAGE_U_BOOT
 	select ADK_HOST_BUILD_U_BOOT
 	help

+ 1 - 0
target/arm/systems/beaglebone-black

@@ -15,6 +15,7 @@ config ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_ROOT_RW
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  BeagleBone Black
 

+ 1 - 0
target/arm/systems/linksys-nslu2

@@ -10,6 +10,7 @@ config ADK_TARGET_SYSTEM_LINKSYS_NSLU2
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Linksys NSLU2
 

+ 1 - 0
target/arm/systems/qemu-arm-spitz

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu Emulator for ARM architecture (Spitz PDA).
 

+ 1 - 0
target/arm/systems/qemu-arm-terrier

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu Emulator for ARM architecture (Terrier PDA).
 

+ 1 - 0
target/arm/systems/qemu-arm-versatilepb

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu Emulator for ARM architecture (Versatile/PB).
 

+ 1 - 0
target/arm/systems/qemu-arm-vexpress-a9

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu Emulator for ARM architecture (Vexpress A9).
 

+ 1 - 0
target/arm/systems/raspberry-pi

@@ -18,6 +18,7 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI
 	select ADK_PACKAGE_BCM28XX_BOOTLOADER
 	select ADK_TARGET_WITH_ROOT_RW
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Raspberry PI
 

+ 1 - 0
target/arm/systems/raspberry-pi2

@@ -19,6 +19,7 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI2
 	select ADK_PACKAGE_BCM28XX_BOOTLOADER
 	select ADK_TARGET_WITH_ROOT_RW
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Raspberry PI 2
 

+ 1 - 0
target/arm/systems/sharp-zaurus

@@ -14,6 +14,7 @@ config ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Sharp Zaurus CL3200 (Terrier)
 

+ 1 - 0
target/arm/systems/solidrun-imx6

@@ -17,6 +17,7 @@ config ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_WITH_WATCHDOG
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_TARGET_WITH_ROOT_RW
 	select ADK_PACKAGE_U_BOOT_IMX6
 	help

+ 1 - 0
target/avr32/systems/atmel-ngw100

@@ -7,6 +7,7 @@ config ADK_TARGET_SYSTEM_ATMEL_NGW100
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_KERNEL_UIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_HOST_BUILD_U_BOOT
 	help
 	  Atmel NGW100

+ 2 - 0
target/config/Config.in.kernelfmt

@@ -33,3 +33,5 @@ config ADK_TARGET_KERNEL
 	default "vmlinux.aout" if ADK_TARGET_KERNEL_VMLINUX_AOUT
 	default "vmlinux"
 
+config ADK_TARGET_KERNEL_WITH_COMPRESSION
+	bool

+ 1 - 0
target/cris/systems/qemu-cris

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_CRIS
 	select ADK_CPU_CRIS_V32
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_IMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu Emulator for CRISv32 architecture.
 

+ 8 - 8
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"

+ 1 - 0
target/m68k/systems/aranym-m68k

@@ -9,6 +9,7 @@ config ADK_TARGET_SYSTEM_ARANYM_M68K
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for ARAnyM Emulator (M68K).
 

+ 1 - 0
target/m68k/systems/qemu-m68k-mcf5208

@@ -5,6 +5,7 @@ config ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
 	select ADK_TARGET_BINFMT_FLAT
 	select ADK_TARGET_UCLINUX
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator M68K/Coldfire. 
 

+ 1 - 0
target/m68k/systems/qemu-m68k-q800

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_M68K_Q800
 	select ADK_TARGET_QEMU
 	select ADK_CPU_68040
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator with M68K architecture (Q800). 
 

+ 1 - 0
target/microblaze/systems/qemu-microblaze-ml605

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
 	select ADK_CPU_MICROBLAZE
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_LINUXBIN
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu support for MICROBLAZE architecture (Xilinx ML605).
 

+ 1 - 0
target/microblaze/systems/qemu-microblaze-s3adsp1800

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
 	select ADK_CPU_MICROBLAZE
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_LINUXBIN
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu support for MICROBLAZE architecture (Xilinx Spartan S3ADSP1800).
 

+ 1 - 0
target/mips/systems/dragino-ms14s

@@ -10,6 +10,7 @@ config ADK_TARGET_SYSTEM_DRAGINO_MS14S
 	select ADK_TARGET_WITH_NET
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Dragino2 ms14-s.
 

+ 1 - 0
target/mips/systems/imgtec-ci20

@@ -10,6 +10,7 @@ config ADK_TARGET_SYSTEM_IMGTEC_CI20
 	select ADK_TARGET_WITH_NET
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Imagination Creator CI20.
 

+ 1 - 0
target/mips/systems/mikrotik-rb4xx

@@ -12,6 +12,7 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
 	select ADK_TARGET_WITH_NET
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Mikrotik RB411/RB433/RB493g.
 

+ 1 - 0
target/mips/systems/qemu-mips

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_MIPS
 	bool "Qemu Emulator"
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_VMLINUZ
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu support for MIPS architecture.
 

+ 1 - 0
target/mips64/systems/lemote-yeelong

@@ -15,6 +15,7 @@ config ADK_TARGET_SYSTEM_LEMOTE_YEELONG
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_WITH_ROOT_RW
 	select ADK_TARGET_KERNEL_VMLINUZ
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
           System profile for Lemote Yeelong laptop.
 

+ 1 - 0
target/mips64/systems/qemu-mips64

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_MIPS64
 	select ADK_CPU_MIPS64
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_VMLINUZ
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Qemu support for MIPS64 architecture.
 

+ 1 - 0
target/ppc/systems/mac-mini

@@ -6,6 +6,7 @@ config ADK_TARGET_SYSTEM_APPLE_MACMINI
 	select ADK_TARGET_WITH_NET
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Apple Mac mini.
 

+ 1 - 0
target/ppc/systems/qemu-ppc-bamboo

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
 	select ADK_TARGET_QEMU
 	select ADK_CPU_PPC_440
 	select ADK_TARGET_SOFT_FLOAT
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
  	  Support for Qemu Emulator PPC architecture (Bamboo).
 

+ 1 - 0
target/ppc/systems/qemu-ppc-macppc

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
 	select ADK_TARGET_QEMU
 	select ADK_CPU_PPC
 	select ADK_TARGET_CPU_WITH_FPU
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator PPC architecture (MAC-PPC).
 

+ 1 - 0
target/ppc64/systems/qemu-ppc64

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_PPC64
 	bool "Qemu Emulator"
 	select ADK_CPU_PPC64
 	select ADK_TARGET_QEMU
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator PPC64 architecture.
 

+ 1 - 0
target/s390/systems/qemu-s390

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_S390
 	bool "Qemu Emulator"
 	select ADK_CPU_Z900
 	select ADK_TARGET_QEMU
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator S/390 architecture.
 

+ 1 - 0
target/sh/systems/qemu-sh

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_SH
 	select ADK_CPU_SH4
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator SUPERH architecture.
 

+ 1 - 0
target/sparc/systems/qemu-sparc

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_SPARC
 	select ADK_CPU_SPARC_V8
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator SPARC architecture.
 

+ 1 - 0
target/sparc/systems/sun-voyager

@@ -7,6 +7,7 @@ config ADK_TARGET_SYSTEM_SUN_VOYAGER
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Sun Voyager.
 

+ 1 - 0
target/sparc64/systems/qemu-sparc64

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_SPARC64
 	select ADK_CPU_SPARC_V9
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
  	  Support for Qemu Emulator SPARC64 architecture.
 

+ 1 - 0
target/x86/systems/generic-x86

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_GENERIC_X86
 	bool "Generic x86 PC (i686)"
 	select ADK_CPU_I686
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_TARGET_WITH_ACPI
 	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_SERIAL

+ 1 - 0
target/x86/systems/ibm-x40

@@ -26,6 +26,7 @@ config ADK_TARGET_SYSTEM_IBM_X40
 	select ADK_TARGET_WITH_PP
 	select ADK_TARGET_WITH_ROOT_RW
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_PACKAGE_GRUB
 	help
           System profile for IBM X40 laptop.

+ 1 - 0
target/x86/systems/pcengines-alix

@@ -11,6 +11,7 @@ config ADK_TARGET_SYSTEM_PCENGINES_ALIX
 	select ADK_TARGET_WITH_NETDEVICE
 	select ADK_TARGET_WITH_BLOCK
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_PACKAGE_GRUB
 	help
 	  Support for PCengines ALIX Boards.

+ 1 - 0
target/x86/systems/qemu-x86

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_X86
 	select ADK_CPU_I686
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator X86 architecture.
 

+ 1 - 0
target/x86/systems/vbox-x86

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_VBOX_X86
 	bool "VirtualBox Emulator"
 	select ADK_TARGET_VBOX
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_PACKAGE_GRUB
 	help
 	  Support for VirtualBox Emulator.

+ 1 - 0
target/x86_64/systems/generic-x86_64

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_GENERIC_X86_64
 	bool "Generic x86_64 PC"
 	select ADK_CPU_X86_64
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_TARGET_WITH_ACPI
 	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_SERIAL

+ 1 - 0
target/x86_64/systems/pcengines-apu

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_PCENGINES_APU
 	bool "PC Engines APU"
 	select ADK_CPU_AMD_BOBCAT
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_TARGET_WITH_MINIPCI
 	select ADK_TARGET_WITH_SERIAL
 	select ADK_TARGET_WITH_PCI

+ 1 - 0
target/x86_64/systems/qemu-x86_64

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_X86_64
 	select ADK_CPU_NOCONA
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_BZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	help
 	  Support for Qemu Emulator X86_64 architecture.
 

+ 1 - 0
target/xtensa/systems/qemu-xtensa

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_QEMU_XTENSA
 	select ADK_CPU_XTENSA
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_HOST_BUILD_U_BOOT
 	help
 	  Support for Qemu Emulator XTENSA architecture.

+ 1 - 0
target/xtensa/systems/xilinx-kintex7

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_XILINX_KINTEX7
 	bool "Xilinx Kintex 7"
 	select ADK_CPU_XTENSA
 	select ADK_TARGET_KERNEL_ZIMAGE
+	select ADK_TARGET_KERNEL_WITH_COMPRESSION
 	select ADK_TARGET_WITH_SERIAL
 	select ADK_TARGET_WITH_NET
 	select ADK_TARGET_WITH_NETDEVICE