From: Eric Andersen Date: Fri, 30 Sep 2005 20:46:29 +0000 (-0000) Subject: Support building a cross libtool for use on the host during cross-development. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce0f1fe53ea42d499b31249bfd9c2614b33b5a6d;p=buildroot.git Support building a cross libtool for use on the host during cross-development. --- 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)