[OpenWrt-Devel] [PATCH] toolchain: Simplify libc selection

Rosen Penev rosenp at gmail.com
Tue Oct 8 18:24:34 EDT 2019


uClibc-ng is only needed for ARC. Simplify the conditions.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 toolchain/Config.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index faff3c8fbb..762f4e10d7 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -250,8 +250,7 @@ choice
 	config LIBC_USE_UCLIBC
 		select USE_UCLIBC
 		bool "Use uClibc"
-		depends on !(aarch64 || aarch64_be || powerpc64)
-		depends on BROKEN || !(arm || armeb || i386 || x86_64 || mips || mipsel || mips64 || mips64el || powerpc)
+		depends on BROKEN || arc
 
 	config LIBC_USE_MUSL
 		select USE_MUSL
-- 
2.17.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list