* libnl fails to build with multiple jobs so keep make at -j1
* Multiple libraries are installed so update uninstall target for this
[Peter: remove libnl/libnl-*.* to catch subdir + any new libs in the future]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
LIBNL_SITE = http://www.infradead.org/~tgr/libnl/files/
LIBNL_INSTALL_STAGING = YES
LIBNL_DEPENDENCIES = host-bison
+LIBNL_MAKE = $(MAKE1)
define LIBNL_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/libnl.so*
+ rm -r $(TARGET_DIR)/usr/lib/libnl.* $(TARGET_DIR)/usr/lib/libnl-*.*
+ rm -rf $(TARGET_DIR)/usr/lib/libnl
endef
$(eval $(call AUTOTARGETS,package,libnl))