aboutsummaryrefslogtreecommitdiff
path: root/package/systemd/Config.in
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 /package/systemd/Config.in
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 'package/systemd/Config.in')
-rw-r--r--package/systemd/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 661f40dee4..81eee96c57 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -190,6 +190,7 @@ config BR2_PACKAGE_SYSTEMD_MACHINED
config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
bool "enable myhostname NSS plugin"
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs nss.h
default y
help
nss-myhostname is a plug-in module for the GNU Name Service
@@ -245,6 +246,7 @@ config BR2_PACKAGE_SYSTEMD_RANDOMSEED
config BR2_PACKAGE_SYSTEMD_RESOLVED
bool "enable resolve daemon"
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs nss.h
default y
help
systemd-resolved is a system service that provides network
@@ -278,6 +280,7 @@ config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
config BR2_PACKAGE_SYSTEMD_SYSUSERS
bool "enable sysusers support"
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs gshadow.h
help
systemd-sysusers creates system users and groups, based on
the file format and location specified in sysusers.d(5).