summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-22 17:23:55 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-03-07 21:22:31 (GMT)
commitefeebdbd427906fecf404e9a71066398d144f082 (patch)
tree3d9fcc82f027bb51ec6e5d41b9ebeb63291a419f
parentc08e016efad74b087b71df09b028f615eb5453db (diff)
downloadbuildroot-efeebdbd427906fecf404e9a71066398d144f082.tar.gz
buildroot-efeebdbd427906fecf404e9a71066398d144f082.tar.bz2
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 5fa2f4c..1efdcf8 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))