summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-09-30 20:46:29 +0000
committerEric Andersen <andersen@codepoet.org>2005-09-30 20:46:29 +0000
commitce0f1fe53ea42d499b31249bfd9c2614b33b5a6d (patch)
treeb70f5044944339b1fd8889e1b23a73e6b266f642 /package
parentf2a5ce4b9da5940604061294b2414e6d163ffc7b (diff)
Support building a cross libtool for use on the host during cross-development.
Diffstat (limited to 'package')
-rw-r--r--package/libtool/libtool.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk
index 5d6c98d57..1befd2e97 100644
--- a/package/libtool/libtool.mk
+++ b/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)