File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,12 @@ else
252
252
GLIBC_SRC_GIT :=
253
253
endif
254
254
255
+ ifeq ($(findstring $(srcdir ) ,$(MUSL_SRCDIR ) ) ,$(srcdir ) )
256
+ MUSL_SRC_GIT := $(MUSL_SRCDIR ) /.git
257
+ else
258
+ MUSL_SRC_GIT :=
259
+ endif
260
+
255
261
ifeq ($(findstring $(srcdir ) ,$(QEMU_SRCDIR ) ) ,$(srcdir ) )
256
262
QEMU_SRC_GIT := $(QEMU_SRCDIR ) /.git
257
263
else
@@ -742,7 +748,7 @@ stamps/build-gcc-musl-stage1: $(GCC_SRCDIR) $(GCC_SRC_GIT) stamps/build-binutils
742
748
$(MAKE) -C $(notdir $@) inhibit-libc=true install-target-libgcc
743
749
mkdir -p $(dir $@) && touch $@
744
750
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
746
752
rm -rf $@ $(notdir $@ )
747
753
mkdir $(notdir $@ )
748
754
cd $(notdir $@ ) && CC=" $( MUSL_CC_FOR_TARGET) " $< /configure \
@@ -755,7 +761,7 @@ stamps/build-musl-linux-headers: $(MUSL_SRCDIR) stamps/build-gcc-musl-stage1
755
761
$(MAKE ) -C $(notdir $@ ) install-headers
756
762
mkdir -p $(dir $@ ) && touch $@
757
763
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
759
765
rm -rf $@ $(notdir $@ )
760
766
mkdir $(notdir $@ )
761
767
cd $(notdir $@ ) && \
You can’t perform that action at this time.
0 commit comments