File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1313 runs-on : ${{ matrix.os }}
1414 strategy :
1515 matrix :
16- os : [ubuntu-18 .04, ubuntu-20 .04]
16+ os : [ubuntu-20 .04, ubuntu-22 .04]
1717 mode : [newlib, linux, musl]
1818 target : [rv32gc-ilp32d, rv64gc-lp64d]
1919 exclude :
Original file line number Diff line number Diff line change 4848 runs-on : ${{ matrix.os }}
4949 strategy :
5050 matrix :
51- os : [ubuntu-18 .04, ubuntu-20 .04]
51+ os : [ubuntu-20 .04, ubuntu-22 .04]
5252 mode : [newlib, linux, musl]
5353 target : [rv32gc-ilp32d, rv64gc-lp64d]
5454 exclude :
Original file line number Diff line number Diff line change @@ -252,6 +252,12 @@ else
252252GLIBC_SRC_GIT :=
253253endif
254254
255+ ifeq ($(findstring $(srcdir ) ,$(MUSL_SRCDIR ) ) ,$(srcdir ) )
256+ MUSL_SRC_GIT := $(MUSL_SRCDIR ) /.git
257+ else
258+ MUSL_SRC_GIT :=
259+ endif
260+
255261ifeq ($(findstring $(srcdir ) ,$(QEMU_SRCDIR ) ) ,$(srcdir ) )
256262QEMU_SRC_GIT := $(QEMU_SRCDIR ) /.git
257263else
@@ -742,7 +748,7 @@ stamps/build-gcc-musl-stage1: $(GCC_SRCDIR) $(GCC_SRC_GIT) stamps/build-binutils
742748 $(MAKE) -C $(notdir $@) inhibit-libc=true install-target-libgcc
743749 mkdir -p $(dir $@) && touch $@
744750
745- stamps/build-musl-linux-headers : $(MUSL_SRCDIR ) stamps/build-gcc-musl-stage1
751+ stamps/build-musl-linux-headers : $(MUSL_SRCDIR ) $( MUSL_SRC_GIT ) stamps/build-gcc-musl-stage1
746752 rm -rf $@ $(notdir $@ )
747753 mkdir $(notdir $@ )
748754 cd $(notdir $@ ) && CC=" $( MUSL_CC_FOR_TARGET) " $< /configure \
@@ -755,7 +761,7 @@ stamps/build-musl-linux-headers: $(MUSL_SRCDIR) stamps/build-gcc-musl-stage1
755761 $(MAKE ) -C $(notdir $@ ) install-headers
756762 mkdir -p $(dir $@ ) && touch $@
757763
758- stamps/build-musl-linux : $(MUSL_SRCDIR ) stamps/build-gcc-musl-stage1
764+ stamps/build-musl-linux : $(MUSL_SRCDIR ) $( MUSL_SRC_GIT ) stamps/build-gcc-musl-stage1
759765 rm -rf $@ $(notdir $@ )
760766 mkdir $(notdir $@ )
761767 cd $(notdir $@ ) && \
You can’t perform that action at this time.
0 commit comments