File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,25 @@ submodule-update:
9696toolchain :
9797 mkdir -p $(BUILD_LOGS )
9898 rm -rf $(RSB ) /rtems/build
99+ # Downloading sometimes fails on the first try. So start with
100+ # downloading twice
99101 cd $(RSB ) /rtems && ../source-builder/sb-set-builder \
102+ --source-only-download \
100103 --prefix=$(PREFIX ) \
101104 --log=$(BUILD_LOGS ) /rsb-toolchain.log \
102- --with-fortran \
105+ --with-fortran \
106+ $(RTEMS_VERSION ) /rtems-$(ARCH ) || true
107+ cd $(RSB ) /rtems && ../source-builder/sb-set-builder \
108+ --source-only-download \
109+ --prefix=$(PREFIX ) \
110+ --log=$(BUILD_LOGS ) /rsb-toolchain.log \
111+ --with-fortran \
112+ $(RTEMS_VERSION ) /rtems-$(ARCH )
113+ # Now build the tools
114+ cd $(RSB ) /rtems && ../source-builder/sb-set-builder \
115+ --prefix=$(PREFIX ) \
116+ --log=$(BUILD_LOGS ) /rsb-toolchain.log \
117+ --with-fortran \
103118 $(RTEMS_VERSION ) /rtems-$(ARCH )
104119 rm -rf $(RSB ) /rtems/build
105120
You can’t perform that action at this time.
0 commit comments