Ver Fonte

Support building a cross libtool for use on the host during cross-development.

Eric Andersen há 20 anos atrás
pai
commit
ce0f1fe53e
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      package/libtool/libtool.mk

+ 5 - 0
package/libtool/libtool.mk

@@ -73,6 +73,11 @@ libtool-clean:
 	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LIBTOOL_DIR) uninstall
 	-$(MAKE) -C $(LIBTOOL_DIR) clean
 
+libtool-cross: uclibc $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)
+
+libtool-cross-clean:
+	-$(MAKE) -C $(LIBTOOL_DIR) clean
+
 libtool-dirclean:
 	rm -rf $(LIBTOOL_DIR)