summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-22 17:22:49 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-03-07 21:22:31 (GMT)
commit99175e43be4a7ad19c04364d3fe91db26853af33 (patch)
treeb040a2bc2f128ed2a2dad76ba9271d0b51573a33
parent7ec08dab2879be9745ea0750cfb5fca7c13e48df (diff)
downloadbuildroot-99175e43be4a7ad19c04364d3fe91db26853af33.tar.gz
buildroot-99175e43be4a7ad19c04364d3fe91db26853af33.tar.bz2
libdnet: remove dnet-config script from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libdnet/libdnet.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libdnet/libdnet.mk b/package/libdnet/libdnet.mk
index eb67b05..6dfecf9 100644
--- a/package/libdnet/libdnet.mk
+++ b/package/libdnet/libdnet.mk
@@ -31,4 +31,12 @@ endef
LIBDNET_POST_EXTRACT_HOOKS += LIBDNET_FIXUP_ACINCLUDE_M4
+define LIBDNET_REMOVE_CONFIG_SCRIPT
+ $(RM) -f $(TARGET_DIR)/usr/bin/dnet-config
+endef
+
+ifneq ($(BR2_HAVE_DEVFILES),y)
+LIBDNET_POST_INSTALL_TARGET_HOOKS += LIBDNET_REMOVE_CONFIG_SCRIPT
+endif
+
$(eval $(call AUTOTARGETS,package,libdnet))