From: "Steven J. Hill" Date: Fri, 13 Apr 2007 02:04:32 +0000 (-0000) Subject: If using an external toolchain, don't include any of this stuff. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=370057a206785851415f84f19fe706ac5a66aa75;p=buildroot.git If using an external toolchain, don't include any of this stuff. --- diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index 8e8267498e..defe923b12 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -17,6 +17,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) + ifeq ($(GCC_SNAP_DATE),) GCC_OFFICIAL_VER:=$(GCC_VERSION) GCC_SITE:=http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION) @@ -443,3 +445,5 @@ gcc_target-clean: gcc_target-dirclean: rm -rf $(GCC_BUILD_DIR3) + +endif