From 07017fea19ec1c1a2e770a496e8c0315be8675db Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 19 Feb 2017 13:56:00 +0100 Subject: rework firmware menu, we need to add some more options for images/filesystem --- Config.in | 5 +++++ target/config/Config.in.rootfs | 8 ++++++-- 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" -- cgit v1.2.3