f890debb30
* 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>
20 lines
530 B
Makefile
20 lines
530 B
Makefile
#############################################################
|
|
#
|
|
# libnl
|
|
#
|
|
#############################################################
|
|
|
|
LIBNL_VERSION = 3.0
|
|
LIBNL_SOURCE = libnl-$(LIBNL_VERSION).tar.gz
|
|
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 -r $(TARGET_DIR)/usr/lib/libnl.* $(TARGET_DIR)/usr/lib/libnl-*.*
|
|
rm -rf $(TARGET_DIR)/usr/lib/libnl
|
|
endef
|
|
|
|
$(eval $(call AUTOTARGETS,package,libnl))
|