From ce0f1fe53ea42d499b31249bfd9c2614b33b5a6d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 Sep 2005 20:46:29 +0000 Subject: [PATCH] Support building a cross libtool for use on the host during cross-development. --- package/libtool/libtool.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk index 5d6c98d575..1befd2e97a 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) -- 2.30.2