summaryrefslogtreecommitdiff
path: root/target/config/Config.in.toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-05 12:51:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-07 06:42:57 +0100
commitc384dc577bd32f3315bacb410fc31610b41f742c (patch)
tree903aaed00f4b82d5e1eada2bd4fea8a7f3387ded /target/config/Config.in.toolchain
parent68d4e79f35039b31ae835e82241a567b0ad66aa8 (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 'target/config/Config.in.toolchain')
-rw-r--r--target/config/Config.in.toolchain21
1 files changed, 16 insertions, 5 deletions
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