libmicrohttpd: disable on avr32
PATCH 1/1 libmicrohttpd: disable on avr32
From: Simon Dawson <[email protected]>
The epoll_create1 syscall is not available on avr32. Fixes build failures such as the following.
http://autobuild.buildroot.net/results/dbd/dbdc86321c6c85703dd9aed3f974843203124d92
--- package/libmicrohttpd/Config.in | 3 +++ package/ola/Config.in | 1 + 2 files changed, 4 insertions(+)
package/libmicrohttpd/Config.in +3 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBMICROHTTPD bool "libmicrohttpd" + depends on !BR2_avr32 # no epoll_create1 depends on BR2_TOOLCHAIN_HAS_THREADS help GNU libmicrohttpd is a small C library that makes it easy to
@@ -18,6 +19,8 @@ config BR2_PACKAGE_LIBMICROHTTPD_SSL comment "libmicrohttpd needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_avr32 comment "libmicrohttpd https support needs a toolchain w/ wchar" depends on BR2_PACKAGE_LIBMICROHTTPD && !BR2_USE_WCHAR + depends on !BR2_avr32
package/ola/Config.in +1 -0
@@ -23,6 +23,7 @@ menu "bindings and interface" config BR2_PACKAGE_OLA_WEB bool "http interface" + depends on !BR2_avr32 # libmicrohttpd select BR2_PACKAGE_LIBMICROHTTPD help Build OLA with browser interface.
Signature · 1 line
1.8.3.2
PATCH 1/1 libmicrohttpd: disable on avr32
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"spdawson" == spdawson <[email protected]> writes:
From: Simon Dawson <[email protected]>
Theepoll_create1syscall is not available on avr32. Fixes build failures such as the following.http://autobuild.buildroot.net/results/dbd/dbdc86321c6c85703dd9aed3f974843203124d92
Signed-off-by Simon Dawson <[email protected]>
Thanks, but:
grep epoll output/build/libmicrohttpd-0.9.31/README --disable-epoll: no support for epoll, even on Linux
So I've instead committed a patch adding that configure option for avr32.
Signature · 1 line
Bye, Peter Korsgaard