summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-22 18:23:55 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-03-07 22:22:31 +0100
commitefeebdbd427906fecf404e9a71066398d144f082 (patch)
tree3d9fcc82f027bb51ec6e5d41b9ebeb63291a419f
parentc08e016efad74b087b71df09b028f615eb5453db (diff)
downloadbuildroot-novena-efeebdbd427906fecf404e9a71066398d144f082.tar.gz
buildroot-novena-efeebdbd427906fecf404e9a71066398d144f082.zip
libxslt: remove xslt-config script from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libxslt/libxslt.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
index 5fa2f4ce4..1efdcf8c2 100644
--- a/package/libxslt/libxslt.mk
+++ b/package/libxslt/libxslt.mk
@@ -39,5 +39,13 @@ endef
LIBXSLT_POST_INSTALL_STAGING_HOOKS += LIBXSLT_XSLT_CONFIG_FIXUP
+define LIBXSLT_REMOVE_CONFIG_SCRIPTS
+ $(RM) -f $(TARGET_DIR)/usr/bin/xslt-config
+endef
+
+ifneq ($(BR2_HAVE_DEVFILES),y)
+LIBXSLT_POST_INSTALL_TARGET_HOOKS += LIBXSLT_REMOVE_CONFIG_SCRIPTS
+endif
+
$(eval $(call AUTOTARGETS,package,libxslt))
$(eval $(call AUTOTARGETS,package,libxslt,host))