[Buildroot] [PATCH 2/6] neon: remove neon-config script from TARGET_DIR
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Mar 7 21:22:46 UTC 2011
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/neon/neon.mk | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/package/neon/neon.mk b/package/neon/neon.mk
index c570fc1..0c237dc 100644
--- a/package/neon/neon.mk
+++ b/package/neon/neon.mk
@@ -45,4 +45,12 @@ else
NEON_CONF_OPT+=--without-ssl
endif
+define NEON_REMOVE_CONFIG_SCRIPTS
+ $(RM) -f $(TARGET_DIR)/usr/bin/neon-config
+endef
+
+ifneq ($(BR2_HAVE_DEVFILES),y)
+NEON_POST_INSTALL_TARGET_HOOKS += NEON_REMOVE_CONFIG_SCRIPTS
+endif
+
$(eval $(call AUTOTARGETS,package,neon))
--
1.7.0.4
More information about the buildroot
mailing list