summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-02-19 13:56:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-23 03:09:27 +0100
commit07017fea19ec1c1a2e770a496e8c0315be8675db (patch)
tree4ee14afccb283130e652651839eae3dae378c204
parent0fdcbb4efc907387aef61f79d1b35679eb38f00e (diff)
rework firmware menu, we need to add some more options for images/filesystem
-rw-r--r--Config.in5
-rw-r--r--target/config/Config.in.rootfs8
2 files changed, 11 insertions, 2 deletions
diff --git a/Config.in b/Config.in
index 3da2a5f9f..b9db39c5b 100644
--- a/Config.in
+++ b/Config.in
@@ -25,7 +25,12 @@ source "target/config/Config.in.subsystem"
source "target/config/Config.in.qemuopts"
source "target/config/Config.in.cpu"
source "target/config/Config.in.tasks"
+
+menu "Firmware configuration"
+ visible if ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
source "target/config/Config.in.rootfs"
+endmenu
+
source "target/config/Config.in"
menu "Package selection"
diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs
index d4bae7822..096293e45 100644
--- a/target/config/Config.in.rootfs
+++ b/target/config/Config.in.rootfs
@@ -2,7 +2,7 @@
# material, please see the LICENCE file in the top-level directory.
choice
-prompt "Firmware type" if !ADK_TARGET_CHOOSE_ARCH
+prompt "Filesystem / Image 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
@@ -170,8 +170,12 @@ config ADK_TARGET_ROOTFS_GENIMAGE
endchoice
config ADK_TARGET_ROOTDEV
- string
+ string "Root device name"
+ depends on ADK_TARGET_ROOTFS_GENIMAGE
default "sda"
+ help
+ If you a embedded device with multiple block devices and want to
+ set the root device name.
config ADK_TARGET_DUAL_BOOT
bool "Activate dual-boot partition layout"