summaryrefslogtreecommitdiffstats
path: root/rules/libc.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/libc.in')
-rw-r--r--rules/libc.in32
1 files changed, 18 insertions, 14 deletions
diff --git a/rules/libc.in b/rules/libc.in
index f084b65..85f0258 100644
--- a/rules/libc.in
+++ b/rules/libc.in
@@ -55,27 +55,31 @@ endchoice
#
# sysroot support
#
-config GENERIC_SYSROOT
- bool
+config TOOLCHAIN_ENABLE_SYSROOT
+ bool
+ default !TOOLCHAIN_DISABLE_SYSROOT
+
+config TOOLCHAIN_DISABLE_SYSROOT
+ bool
-config GENERIC_CONFIG_SYSROOT
- string
- default "--with-sysroot=${SYSROOT}" if GENERIC_SYSROOT
+config TOOLCHAIN_CONFIG_SYSROOT
+ string
+ default "--with-sysroot=${SYSROOT}" if TOOLCHAIN_ENABLE_SYSROOT
#
# multilib support
#
-config GENERIC_ENABLE_MULTILIB
- bool
+config TOOLCHAIN_ENABLE_MULTILIB
+ bool
-config GENERIC_DISABLE_MULTILIB
- bool
- default !GENERIC_ENABLE_MULTILIB
+config TOOLCHAIN_DISABLE_MULTILIB
+ bool
+ default !TOOLCHAIN_ENABLE_MULTILIB
-config GENERIC_CONFIG_MULTILIB
- string
- default "--enable-multilib" if GENERIC_ENABLE_MULTILIB
- default "--disable-multilib" if GENERIC_DISABLE_MULTILIB
+config TOOLCHAIN_CONFIG_MULTILIB
+ string
+ default "--enable-multilib" if TOOLCHAIN_ENABLE_MULTILIB
+ default "--disable-multilib" if TOOLCHAIN_DISABLE_MULTILIB