aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2018-02-12 22:06:33 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-14 21:31:17 +0100
commit879fa7f82a86ffdc6d1cf7c9bfbb5cf830583d69 (patch)
treefc433858463d5dea293f7605daafbc4d848d288e /system
parent27562c2bf3871e7d5f3b64717b07f2a7230b542b (diff)
downloadbuildroot-879fa7f82a86ffdc6d1cf7c9bfbb5cf830583d69.tar.gz
buildroot-879fa7f82a86ffdc6d1cf7c9bfbb5cf830583d69.tar.bz2
systemd: allow to build with uClibc toolchains
We need to disable any systemd parts using either IDN, NSS or gshadow. IDN is only disabled in C library function call to getnameinfo(), it does not effect libidn/libidn2 usage in systemd. Tested with qemu-system-arm. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'system')
-rw-r--r--system/Config.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/Config.in b/system/Config.in
index d48cf8d8c4..7b36516cc7 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -127,7 +127,7 @@ config BR2_INIT_SYSV
config BR2_INIT_SYSTEMD
bool "systemd"
depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
- depends on BR2_TOOLCHAIN_USES_GLIBC
+ depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HAS_SSP
@@ -137,8 +137,8 @@ config BR2_INIT_SYSTEMD
select BR2_ROOTFS_MERGED_USR
select BR2_PACKAGE_SYSTEMD
-comment "systemd needs a glibc toolchain, headers >= 3.10"
- depends on !(BR2_TOOLCHAIN_USES_GLIBC \
+comment "systemd needs a glibc or uClibc toolchain, headers >= 3.10"
+ depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC \
&& BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10)
config BR2_INIT_NONE