@ -16,7 +16,7 @@ glibc_url := $(GNU_MIRROR)/glibc/glibc-$(glibc_version).tar.gz
newlib_url := ftp://sourceware.org/pub/newlib/newlib-$( newlib_version) .tar.gz
newlib_url := ftp://sourceware.org/pub/newlib/newlib-$( newlib_version) .tar.gz
XLEN ?= @XLEN@
XLEN ?= @XLEN@
ARCH ?= @ARCH@
WITH_ ARCH ?= @WITH_ ARCH@
SYSROOT := $( INSTALL_DIR) /sysroot
SYSROOT := $( INSTALL_DIR) /sysroot
SHELL := /bin/sh
SHELL := /bin/sh
@ -161,7 +161,7 @@ stamps/build-gcc-linux-stage1: src/gcc stamps/build-binutils-linux \
--disable-nls \
--disable-nls \
$( MULTILIB_FLAGS) \
$( MULTILIB_FLAGS) \
--disable-bootstrap \
--disable-bootstrap \
--with-arch= $( ARCH)
$( WITH_ ARCH)
$( MAKE) -C $( notdir $@ ) inhibit-libc= true all-gcc
$( MAKE) -C $( notdir $@ ) inhibit-libc= true all-gcc
$( MAKE) -C $( notdir $@ ) inhibit-libc= true install-gcc
$( MAKE) -C $( notdir $@ ) inhibit-libc= true install-gcc
$( MAKE) -C $( notdir $@ ) inhibit-libc= true all-target-libgcc
$( MAKE) -C $( notdir $@ ) inhibit-libc= true all-target-libgcc
@ -185,7 +185,7 @@ stamps/build-gcc-linux-stage2: src/gcc stamps/build-glibc-linux$(XLEN) \
--disable-nls \
--disable-nls \
$( MULTILIB_FLAGS) \
$( MULTILIB_FLAGS) \
--disable-bootstrap \
--disable-bootstrap \
--with-arch= $( ARCH)
$( WITH_ ARCH)
$( MAKE) -C $( notdir $@ )
$( MAKE) -C $( notdir $@ )
$( MAKE) -C $( notdir $@ ) install
$( MAKE) -C $( notdir $@ ) install
mkdir -p $( dir $@ ) && touch $@
mkdir -p $( dir $@ ) && touch $@
@ -226,7 +226,7 @@ stamps/build-gcc-newlib: src/newlib-gcc stamps/build-binutils-newlib
--disable-libquadmath \
--disable-libquadmath \
--disable-libgomp \
--disable-libgomp \
--disable-nls \
--disable-nls \
--with-arch= $( ARCH)
$( WITH_ ARCH)
$( MAKE) -C $( notdir $@ ) inhibit-libc= true
$( MAKE) -C $( notdir $@ ) inhibit-libc= true
$( MAKE) -C $( notdir $@ ) install
$( MAKE) -C $( notdir $@ ) install
mkdir -p $( dir $@ ) && touch $@
mkdir -p $( dir $@ ) && touch $@