[Buildroot] [PATCH] acpid: unavailable for external uClibc toolchains

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Apr 23 13:55:03 UTC 2014


External non-patched uClibc toolchains lack the MSG_CMSG_CLOEXEC
definition, so does internal uClibc <0.9.33, so exclude it for those
scenarios. Fixes:
http://autobuild.buildroot.net/results/6d4/6d471942788fa05f324649ab15e6ca382e46df9c/

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 package/acpid/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/acpid/Config.in b/package/acpid/Config.in
index 5aec7f1..205a6ae 100644
--- a/package/acpid/Config.in
+++ b/package/acpid/Config.in
@@ -1,6 +1,9 @@
 config BR2_PACKAGE_ACPID
 	bool "acpid"
 	depends on BR2_x86_64 || BR2_i386
+	# Usually lacks MSG_CMSG_CLOEXEC
+	depends on !BR2_TOOLCHAIN_EXTERNAL_UCLIBC && \
+		!BR2_UCLIBC_VERSION_0_9_32
 	help
 	  Advanced Configuration and Power Interface event daemon.
 
-- 
1.8.3.2



More information about the buildroot mailing list