diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-05 12:51:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-07 06:42:57 +0100 |
commit | c384dc577bd32f3315bacb410fc31610b41f742c (patch) | |
tree | 903aaed00f4b82d5e1eada2bd4fea8a7f3387ded /Config.in | |
parent | 68d4e79f35039b31ae835e82241a567b0ad66aa8 (diff) |
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 ;)
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 74 |
1 files changed, 12 insertions, 62 deletions
@@ -13,95 +13,47 @@ config ADK_HAVE_DOT_CONFIG bool default y -source "target/config/Config.in.appliances" - -menu "Target configuration" - visible if !ADK_CHOOSE_APPLIANCE - -source "target/config/Config.in.cpu" +source "target/config/Config.in.os" source "target/config/Config.in.hardware" source "target/config/Config.in.boards" source "target/config/Config.in.kernelfmt" source "target/config/Config.in.arch" +source "target/config/Config.in.endian" +source "target/config/Config.in.archopts" source "target/config/Config.in.system" +source "target/config/Config.in.systemopts" source "target/config/Config.in.subsystem" -source "target/config/Config.in.tc" -source "target/config/Config.in.xtensa" source "target/config/Config.in.qemuopts" +source "target/config/Config.in.cpu" +source "target/config/Config.in.tasks" source "target/config/Config.in.rootfs" source "target/config/Config.in.target" -endmenu - source "target/config/Config.in" menu "Package selection" - visible if !ADK_CHOOSE_APPLIANCE - + visible if ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN source "package/Config.in.auto.global" source "package/Config.in" - menu "Package options" - visible if !ADK_CHOOSE_APPLIANCE - -config ADK_LEAVE_ETC_ALONE - bool "do not install anything into /etc" - default n - help - Enabling this option will prevent the ADK from installing anything - into /etc. This is useful for highly customised setups with custom - base-files packages. - - Package Makefiles can override this setting by passing "force_etc" to - the package-template. to a non-empty value. This is useful for - packages traditionally installing non-config stuff into /etc, like - e.g. ca-certificates. - - Note that without further customisation, turning this option - on will almost certainly render the resulting system unusable. - -config ADK_INSTALL_PACKAGE_INIT_SCRIPTS - bool "ship custom init-scripts along with packages" - default y - depends on !ADK_LEAVE_ETC_ALONE - help - Turning this option to false will prevent the ADK from - installing init-scripts (i.e. files in /etc/init.d) for - certain daemons and daemon-like applications. - - Note that without further customisation, turning this option - off will almost certainly render the resulting system unusable. - -config ADK_INSTALL_PACKAGE_NETWORK_SCRIPTS - bool "ship custom network-scripts along with packages" - default y - depends on !ADK_LEAVE_ETC_ALONE - help - Turning this option to false will prevent the ADK from - installing network-scripts (i.e. files in /etc/network/) for - packages providing any. - - Note that without further customisation, turning this option - off will almost certainly render the resulting system unusable. - +source "package/Config.in.options" endmenu endmenu menu "Runtime configuration" - visible if !ADK_CHOOSE_APPLIANCE + visible if ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN source "target/config/Config.in.runtime" endmenu -menu "Kernel configuration" - visible if !ADK_CHOOSE_APPLIANCE && ADK_TARGET_KERNEL_CUSTOMISING - source "target/config/Config.in.kernelversion" + +menu "Kernel configuration" + visible if ADK_TARGET_OS_LINUX && ADK_TARGET_KERNEL_CUSTOMISING && !ADK_APPLIANCE_TOOLCHAIN source "target/config/Config.in.kernelcfg" source "target/linux/Config.in" endmenu menu "Toolchain settings" - visible if !ADK_CHOOSE_APPLIANCE config ADK_VENDOR string "Vendor name" @@ -109,8 +61,6 @@ config ADK_VENDOR help Vendor string is used for toolchain. -source "target/config/Config.in.endian" -source "target/config/Config.in.mips" source "target/config/Config.in.fpu" source "target/config/Config.in.float" source "target/config/Config.in.binfmt" |