summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-12 19:25:15 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-12 19:25:15 +0100
commit7262228e92ff388f458c69ad12338757ef44dbc8 (patch)
tree0036351ecadd8dd5f1d0f6ded26fc1630f2213b4
parent9e9b5f287e6e591d2d5ab10d98d7d65e6b19cb91 (diff)
default to initramfs+piggyback for qemu/gdb sim
-rw-r--r--target/config/Config.in.rootfs29
1 files changed, 15 insertions, 14 deletions
diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs
index 1f98cbdbd..c1410e446 100644
--- a/target/config/Config.in.rootfs
+++ b/target/config/Config.in.rootfs
@@ -4,14 +4,20 @@
choice
prompt "Firmware type" if !ADK_TARGET_CHOOSE_ARCH
depends on !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_OS_BAREMETAL
+default ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK if ADK_TARGET_QEMU || ADK_TARGET_SIM
default ADK_TARGET_ROOTFS_ARCHIVE
-config ADK_TARGET_ROOTFS_INITRAMFS
- bool "initramfs filesystem"
+config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
+ bool "initramfs filesystem included into kernel image"
+ select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
depends on \
ADK_TARGET_QEMU || \
- ADK_TARGET_ARCH_M68K || \
+ ADK_TARGET_SIM || \
+ ADK_TARGET_SYSTEM_OR1K_SIM || \
+ ADK_TARGET_ARCH_AARCH64 || \
+ ADK_TARGET_ARCH_ARC || \
ADK_TARGET_ARCH_ARM || \
+ ADK_TARGET_ARCH_M68K || \
ADK_TARGET_ARCH_MICROBLAZE || \
ADK_TARGET_ARCH_MIPS || \
ADK_TARGET_ARCH_PPC || \
@@ -21,23 +27,15 @@ config ADK_TARGET_ROOTFS_INITRAMFS
ADK_TARGET_ARCH_X86_64
depends on !ADK_TARGET_VBOX
depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
- depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
- depends on !ADK_TARGET_SYSTEM_QEMU_METAG
- select ADK_KERNEL_BLK_DEV_INITRD
help
create an read-only initramfs system.
-config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
- bool "initramfs filesystem included into kernel image"
- select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
+config ADK_TARGET_ROOTFS_INITRAMFS
+ bool "initramfs filesystem"
depends on \
ADK_TARGET_QEMU || \
- ADK_TARGET_SIM || \
- ADK_TARGET_SYSTEM_OR1K_SIM || \
- ADK_TARGET_ARCH_AARCH64 || \
- ADK_TARGET_ARCH_ARC || \
- ADK_TARGET_ARCH_ARM || \
ADK_TARGET_ARCH_M68K || \
+ ADK_TARGET_ARCH_ARM || \
ADK_TARGET_ARCH_MICROBLAZE || \
ADK_TARGET_ARCH_MIPS || \
ADK_TARGET_ARCH_PPC || \
@@ -47,6 +45,9 @@ config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
ADK_TARGET_ARCH_X86_64
depends on !ADK_TARGET_VBOX
depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
+ depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
+ depends on !ADK_TARGET_SYSTEM_QEMU_METAG
+ select ADK_KERNEL_BLK_DEV_INITRD
help
create an read-only initramfs system.