From c384dc577bd32f3315bacb410fc31610b41f742c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Mar 2016 12:51:42 +0100 Subject: rework menu based config system After the addition of bare metal toolchains the menu system allowed to create non-valid configurations. I reworked it so we can also add other operating system support if we wish. So first you choose your operating system, then your architecture and endianess, after that your embedded system, emulator or generic device and then you choose your task you want to run. Tasks may be toolchain, a new appliance/application or some preconfigured sets of packages and configurations as kodi, mpd, firefox and more. The tasks are limited to a plausible choice of hardware and software. Deduplicate CPU configuration. You don't wanna compile Kodi for a H8/300 microcontroller ;) --- target/config/Config.in.rootfs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'target/config/Config.in.rootfs') diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs index b9f7023df..bf4b6c1cc 100644 --- a/target/config/Config.in.rootfs +++ b/target/config/Config.in.rootfs @@ -2,8 +2,8 @@ # material, please see the LICENCE file in the top-level directory. choice -prompt "Root filesystem type" -depends on !ADK_TARGET_TOOLCHAIN +prompt "Firmware type" +depends on !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_OS_BAREMETAL default ADK_TARGET_ROOTFS_ARCHIVE config ADK_TARGET_ROOTFS_INITRAMFS @@ -149,30 +149,30 @@ config ADK_TARGET_ROOTFS_ARCHIVE endchoice choice -prompt "Root filesystem type" +prompt "Root filesystem" depends on ADK_TARGET_ROOTFS_ARCHIVE || ADK_TARGET_ROOTFS_USB && !ADK_TARGET_QEMU default ADK_TARGET_ROOT_EXT4 config ADK_TARGET_ROOT_EXT4 - bool "EXT4 filesystem" + bool "EXT4" select ADK_KERNEL_EXT4_FS help Compile EXT4 filesystem into kernel and use it as root filesystem. config ADK_TARGET_ROOT_XFS - bool "XFS filesystem" + bool "XFS" select ADK_KERNEL_XFS_FS help Compile XFS filesystem into kernel and use it as root filesystem. config ADK_TARGET_ROOT_EXT2 - bool "EXT2 filesystem" + bool "EXT2" select ADK_KERNEL_EXT2_FS help Compile EXT2 filesystem into kernel and use it as root filesystem. config ADK_TARGET_ROOT_EXT3 - bool "EXT3 filesystem" + bool "EXT3" select ADK_KERNEL_EXT3_FS help Compile EXT3 filesystem into kernel and use it as root filesystem. -- cgit v1.2.3