summaryrefslogtreecommitdiffstats
path: root/package/libnl
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 23:17:07 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 19:26:50 +0200
commit4dfe998b3252ac55e2c56e106e9f090b951191c6 (patch)
tree8f54eb4d1193aef05b00a057a7ef90cfa464b06b /package/libnl
parent166631bdfbd5bc063a88126c5b91227701b48745 (diff)
downloadbuildroot-novena-4dfe998b3252ac55e2c56e106e9f090b951191c6.tar.gz
buildroot-novena-4dfe998b3252ac55e2c56e106e9f090b951191c6.zip
libnl: remove useless strip and use correct step override
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libnl')
-rw-r--r--package/libnl/libnl.mk13
1 files changed, 4 insertions, 9 deletions
diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk
index 1a667468d..ccedd2207 100644
--- a/package/libnl/libnl.mk
+++ b/package/libnl/libnl.mk
@@ -10,13 +10,8 @@ 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")
+define LIBNL_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/lib/libnl.so*
- rm -f $(LIBNL_TARGET_INSTALL_TARGET) $(LIBNL_HOOK_POST_INSTALL)
+endef
+
+$(eval $(call AUTOTARGETS,package,libnl))