From 99175e43be4a7ad19c04364d3fe91db26853af33 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 22 Dec 2010 18:22:49 +0100 Subject: [PATCH] libdnet: remove dnet-config script from TARGET_DIR Signed-off-by: Thomas Petazzoni --- package/libdnet/libdnet.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/libdnet/libdnet.mk b/package/libdnet/libdnet.mk index eb67b055a5..6dfecf90c9 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)) -- 2.30.2