summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-22 17:22:02 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-03-07 21:22:31 (GMT)
commit7ec08dab2879be9745ea0750cfb5fca7c13e48df (patch)
treecaae82c4208608e98cdb47dbecfd4c3379b0ac86
parent50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73 (diff)
downloadbuildroot-7ec08dab2879be9745ea0750cfb5fca7c13e48df.tar.gz
buildroot-7ec08dab2879be9745ea0750cfb5fca7c13e48df.tar.bz2
neon: remove neon-config script from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/neon/neon.mk8
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))