From 2841218b0aaba29930f742b4eb613f523ee3710b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 12 Nov 2015 04:45:03 +0100 Subject: 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. --- target/x86/systems/generic-x86 | 1 + target/x86/systems/ibm-x40 | 1 + target/x86/systems/pcengines-alix | 1 + target/x86/systems/qemu-x86 | 1 + target/x86/systems/vbox-x86 | 1 + 5 files changed, 5 insertions(+) (limited to 'target/x86') diff --git a/target/x86/systems/generic-x86 b/target/x86/systems/generic-x86 index 0dfc43367..4358015b4 100644 --- a/target/x86/systems/generic-x86 +++ b/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 diff --git a/target/x86/systems/ibm-x40 b/target/x86/systems/ibm-x40 index 8ccfad02c..6cbc55eae 100644 --- a/target/x86/systems/ibm-x40 +++ b/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. diff --git a/target/x86/systems/pcengines-alix b/target/x86/systems/pcengines-alix index be3f408c3..6dd775743 100644 --- a/target/x86/systems/pcengines-alix +++ b/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. diff --git a/target/x86/systems/qemu-x86 b/target/x86/systems/qemu-x86 index fc0d3953c..97c1a6437 100644 --- a/target/x86/systems/qemu-x86 +++ b/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. diff --git a/target/x86/systems/vbox-x86 b/target/x86/systems/vbox-x86 index 6f7f38ad5..7577554bf 100644 --- a/target/x86/systems/vbox-x86 +++ b/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. -- cgit v1.2.3