summaryrefslogtreecommitdiff
path: root/package/libnl/libnl.mk
diff options
context:
space:
mode:
authorSven Neumann <s.neumann@raumfeld.com>2009-10-19 23:45:58 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-21 10:19:23 +0200
commit61901bd74a622450139358ea0c0f37d4568ad570 (patch)
treec87d070084dbeebe63686a16495bd953aa5a7648 /package/libnl/libnl.mk
parent0ad5869528742f90791b6a13b94f1fa49c41e809 (diff)
libnl: handle all installed libraries
libnl does not only install libnl.so, but also libnl-nf.so, libnl-genl.so and libnl-route.so. Change the post-install and uninstall hooks to handle these libraries as well. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libnl/libnl.mk')
-rw-r--r--package/libnl/libnl.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk
index 1a667468d..04bac2dca 100644
--- a/package/libnl/libnl.mk
+++ b/package/libnl/libnl.mk
@@ -13,10 +13,14 @@ LIBNL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
$(eval $(call AUTOTARGETS,package,libnl))
$(LIBNL_HOOK_POST_INSTALL): $(LIBNL_TARGET_INSTALL_TARGET)
+ifneq ($(BR2_ENABLE_DEBUG),y)
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl.so*
+ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl-*.so*
+endif
touch $@
$(LIBNL_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -f $(TARGET_DIR)/usr/lib/libnl.so*
+ rm -f $(TARGET_DIR)/usr/lib/libnl-*.so*
rm -f $(LIBNL_TARGET_INSTALL_TARGET) $(LIBNL_HOOK_POST_INSTALL)