[Buildroot] svn commit: trunk/buildroot/package/libtool

Nigel Kukard nkukard at lbsd.net
Sun Jan 4 06:04:47 UTC 2009


nkukard at uclibc.org wrote:
> Author: nkukard
> Date: 2009-01-04 06:04:50 +0000 (Sun, 04 Jan 2009)
> New Revision: 24683
>
> Log:
> Use target ar & ranlib when generating static archives, the host tools were being used when libltdl.a was being generated
>   
And remove setting CC them from the uninstall

-N

>
> Modified:
>    trunk/buildroot/package/libtool/libtool.mk
>
>
> Changeset:
> Modified: trunk/buildroot/package/libtool/libtool.mk
> ===================================================================
> --- trunk/buildroot/package/libtool/libtool.mk	2009-01-04 06:02:30 UTC (rev 24682)
> +++ trunk/buildroot/package/libtool/libtool.mk	2009-01-04 06:04:50 UTC (rev 24683)
> @@ -56,7 +56,7 @@
>  	touch $@
>  
>  $(LIBTOOL_DIR)/$(LIBTOOL_BINARY): $(LIBTOOL_DIR)/.configured
> -	$(MAKE) CC=$(TARGET_CC) -C $(LIBTOOL_DIR)
> +	$(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LIBTOOL_DIR)
>  	touch -c $@
>  
>  $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY): $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)
> @@ -90,7 +90,7 @@
>  libtool: uclibc $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY)
>  
>  libtool-clean:
> -	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LIBTOOL_DIR) uninstall
> +	-$(MAKE) DESTDIR=$(TARGET_DIR) -C $(LIBTOOL_DIR) uninstall
>  	-$(MAKE) -C $(LIBTOOL_DIR) clean
>  
>  libtool-cross: uclibc $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>   




More information about the buildroot mailing list