|
@@ -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))
|