diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-05-10 09:13:49 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-05-10 12:53:53 -0700 |
commit | 8b464a814a32671d8315eba5fcab10d0efc85081 (patch) | |
tree | 1f198da6f3f2c1fd2d77b4166b75ecd29cc68fed | |
parent | c9c612ba7042874c2c3d94744d7c640afff3b379 (diff) | |
download | riscv-gnu-toolchain-8b464a814a32671d8315eba5fcab10d0efc85081.zip riscv-gnu-toolchain-8b464a814a32671d8315eba5fcab10d0efc85081.tar.gz riscv-gnu-toolchain-8b464a814a32671d8315eba5fcab10d0efc85081.tar.bz2 |
Download the GCC prereq libraries, even when using submodules
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 6151030..312761f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -142,6 +142,7 @@ stamps/build-glibc-linux-%: $(srcdir)/riscv-glibc stamps/build-gcc-linux-stage1 stamps/build-gcc-linux-stage1: $(srcdir)/riscv-gcc stamps/build-binutils-linux \ stamps/build-linux-headers + if test -f $</contrib/download_prerequisites && test "@NEED_GCC_EXTERNAL_LIBRARIES@" == "true"; then cd $< && ./contrib/download_prerequisites; fi rm -rf $@ $(notdir $@) mkdir $(notdir $@) cd $(notdir $@) && $</configure \ @@ -213,6 +214,7 @@ stamps/build-binutils-newlib: $(srcdir)/riscv-binutils-gdb mkdir -p $(dir $@) && touch $@ stamps/build-gcc-newlib-stage1: $(srcdir)/riscv-gcc stamps/build-binutils-newlib + if test -f $</contrib/download_prerequisites && test "@NEED_GCC_EXTERNAL_LIBRARIES@" == "true"; then cd $< && ./contrib/download_prerequisites; fi rm -rf $@ $(notdir $@) mkdir $(notdir $@) cd $(notdir $@) && $</configure \ |