mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
57c2e79b27
Closes #287. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
684 B
Makefile
23 lines
684 B
Makefile
#############################################################
|
|
#
|
|
# libnl
|
|
#
|
|
#############################################################
|
|
|
|
LIBNL_VERSION = 1.1
|
|
LIBNL_SOURCE = libnl-$(LIBNL_VERSION).tar.gz
|
|
LIBNL_SITE = http://distfiles.gentoo.org/distfiles
|
|
LIBNL_INSTALL_STAGING = YES
|
|
LIBNL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
|
|
|
$(eval $(call AUTOTARGETS,package,libnl))
|
|
|
|
$(LIBNL_HOOK_POST_INSTALL): $(LIBNL_TARGET_INSTALL_TARGET)
|
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl.so*
|
|
touch $@
|
|
|
|
$(LIBNL_TARGET_UNINSTALL):
|
|
$(call MESSAGE,"Uninstalling")
|
|
rm -f $(TARGET_DIR)/usr/lib/libnl.so*
|
|
rm -f $(LIBNL_TARGET_INSTALL_TARGET) $(LIBNL_HOOK_POST_INSTALL)
|