libnl: remove useless strip and use correct step override
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Sep 2010 21:17:07 +0000 (23:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 12 Sep 2010 17:26:50 +0000 (19:26 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libnl/libnl.mk

index 1a667468d74e2543804540df90f4b5ffbbb4eb11..ccedd2207e4bc3ec07d5fa4b6fa7c1eeca61138b 100644 (file)
@@ -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))