[Buildroot] [git commit master 1/1] libnl: remove useless strip and use correct step override
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Sep 16 11:36:00 UTC 2010
commit: http://git.buildroot.net/buildroot/commit/?id=4dfe998b3252ac55e2c56e106e9f090b951191c6
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/libnl/libnl.mk | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk
index 1a66746..ccedd22 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))
--
1.7.1
More information about the buildroot
mailing list