kumquat-buildroot/package/olsr/Config.in
Fabrice Fontaine 8033e5b87d package/olsr: enable back on musl with headers >= 4.15
olsr has been disabled on musl three years ago by commit
4bca88c839.

Comments in https://github.com/OLSR/olsrd/issues/6 suggest that the
issue was due to olsr mixing kernel and userspace headers. This issue is
still open.

However, nowadays olsr builds fine on musl under those two conditions:
- musl >= 1.1.16 (i.e. with
  http://git.musl-libc.org/cgit/musl/commit/?id=04983f2272382af92eb8f8838964ff944fbb8258)
- kernels >= 4.15 (i.e. with
  c0bace7984)

So enable it back on musl with kernels >= 4.15.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-01-12 22:20:11 +01:00

25 lines
910 B
Plaintext

config BR2_PACKAGE_OLSR
bool "olsr"
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
# https://github.com/OLSR/olsrd/issues/6
depends on !BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
help
The Optimized Link State Routing protocol (OLSR) is a
routing protocol that is optimised for mobile ad-hoc
networks, sometimes called wireless mesh networks. It is a
proactive link-state routing protocol that floods a full
topology table to all nodes in the network which then
compute optimal forwarding paths locally.
http://www.olsr.org/
comment "olsr needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
comment "olsr needs a musl toolchain w/ headers >= 4.15"
depends on BR2_TOOLCHAIN_USES_MUSL
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15