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.adk | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'target/config/Config.in.adk') diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk index 81144dc02..a70752bab 100644 --- a/target/config/Config.in.adk +++ b/target/config/Config.in.adk @@ -1,17 +1,16 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -menu "Global ADK settings" - visible if !ADK_CHOOSE_APPLIANCE +menu "Global settings" config ADK_HOST string "webserver for packages and distfiles" default "openadk.org" help - Configure host for IPKG package management. + Configure host for package management and backup server for distfiles. config ADK_DL_DIR - string "download directory for packages" + string "download directory for source packages" default "" help Configure the download directory for all source packages. @@ -30,7 +29,7 @@ config ADK_BUILD_WITH_DEBUG default n help If you want to create debug packages, you should enable this option. - WARNING: It will use a lot of aditional disk space on you build system! + WARNING: It will use a lot of additional disk space on you build system! config ADK_DISABLE_HONOUR_CFLAGS bool "Disable honour CFLAGS checks globally" @@ -46,6 +45,7 @@ config ADK_DISABLE_CHECKSUM config ADK_DISABLE_KERNEL_PATCHES bool "Disable global kernel patches" + depends on ADK_TARGET_OS_LINUX default n help Disable all global kernel patches. @@ -54,6 +54,7 @@ config ADK_DISABLE_KERNEL_PATCHES config ADK_DISABLE_TARGET_KERNEL_PATCHES bool "Disable target specific kernel patches" + depends on ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN default n help Disable all target specific kernel patches. @@ -64,7 +65,7 @@ config ADK_WGET_TIMEOUT int "Set wget timeout" default 10 help - set wget timeout + Set wget timeout config ADK_USE_CCACHE bool "Use ccache to speedup recompilation" @@ -78,7 +79,7 @@ config ADK_MAKE_JOBS default 1 if ! ADK_MAKE_PARALLEL config ADK_MAKE_PARALLEL - bool "Enable parallel building of packages" + bool "Enable parallel building" default y config ADK_MAKE_JOBS @@ -101,15 +102,4 @@ config ADK_TARGET_PORT help Port to use for SSH when running make check. -config ADK_PRELINK - prompt "Prelink binaries and libraries in Image" - boolean - help - Do prelinking for faster loading of binaries. - -config ADK_PRELINK_OPTS - string "additional options to pass to prelink" - default "-mR" - depends on ADK_PRELINK - endmenu -- cgit v1.2.3