--- /dev/null
+config BR2_PACKAGE_LIBNL
+ bool "libnl"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ A library for applications dealing with netlink socket.
+
+ http://people.suug.ch/~tgr/libnl/
+
+if BR2_PACKAGE_LIBNL
+
+config BR2_PACKAGE_LIBNL_TOOLS
+ bool "install tools"
+ # uses <dlfcn.h>
+ depends on !BR2_STATIC_LIBS
+ help
+ Install binary tools.
+
+comment "libnl tools needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
+endif
+
+comment "libnl needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS