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.toolchain | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'target/config/Config.in.toolchain') diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain index 5df860575..098648a56 100644 --- a/target/config/Config.in.toolchain +++ b/target/config/Config.in.toolchain @@ -2,10 +2,14 @@ # material, please see the LICENCE file in the top-level directory. choice +depends on ADK_TARGET_OS_LINUX prompt "Iconv implementation" bool default ADK_TARGET_WITHOUT_ICONV if ADK_TARGET_WITHOUT_MMU -default ADK_TARGET_LIBICONV_TINY if ADK_TARGET_LIB_UCLIBC_NG + +config ADK_TARGET_LIBICONV_TINY + prompt "Use tiny libiconv package" + select ADK_PACKAGE_LIBICONV_TINY config ADK_TARGET_LIBC_ICONV prompt "Use iconv from C library" @@ -14,10 +18,6 @@ config ADK_TARGET_LIBICONV prompt "Use libiconv package" select ADK_PACKAGE_LIBICONV -config ADK_TARGET_LIBICONV_TINY - prompt "Use tiny libiconv package" - select ADK_PACKAGE_LIBICONV_TINY - config ADK_TARGET_WITHOUT_ICONV prompt "Do not build any iconv code" @@ -126,4 +126,15 @@ config ADK_STATIC_TOOLCHAIN help If you want to create more portable toolchains, build them static. +config ADK_PRELINK + bool "Prelink binaries and libraries in Image" + depends on ADK_TARGET_OS_LINUX + 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