mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-04-03 13:30:23 +02:00
move config.sub dependency to patched source trees instead of orig ones
this was overlooked when cowpatch was introduced.
This commit is contained in:
parent
8a92c5230c
commit
1be04b50ec
8
Makefile
8
Makefile
@ -99,7 +99,7 @@ musl-git-%:
|
||||
cd $@.tmp && git fsck
|
||||
mv $@.tmp $@
|
||||
|
||||
%.orig: $(SOURCES)/%.tar.gz | $(SOURCES)/config.sub
|
||||
%.orig: $(SOURCES)/%.tar.gz
|
||||
rm -rf $@.tmp
|
||||
mkdir $@.tmp
|
||||
( cd $@.tmp && tar zxvf - ) < $<
|
||||
@ -108,7 +108,7 @@ musl-git-%:
|
||||
mv $@.tmp/$(patsubst %.orig,%,$@) $@
|
||||
rm -rf $@.tmp
|
||||
|
||||
%.orig: $(SOURCES)/%.tar.bz2 | $(SOURCES)/config.sub
|
||||
%.orig: $(SOURCES)/%.tar.bz2
|
||||
rm -rf $@.tmp
|
||||
mkdir $@.tmp
|
||||
( cd $@.tmp && tar jxvf - ) < $<
|
||||
@ -117,7 +117,7 @@ musl-git-%:
|
||||
mv $@.tmp/$(patsubst %.orig,%,$@) $@
|
||||
rm -rf $@.tmp
|
||||
|
||||
%.orig: $(SOURCES)/%.tar.xz | $(SOURCES)/config.sub
|
||||
%.orig: $(SOURCES)/%.tar.xz
|
||||
rm -rf $@.tmp
|
||||
mkdir $@.tmp
|
||||
( cd $@.tmp && tar Jxvf - ) < $<
|
||||
@ -126,7 +126,7 @@ musl-git-%:
|
||||
mv $@.tmp/$(patsubst %.orig,%,$@) $@
|
||||
rm -rf $@.tmp
|
||||
|
||||
%: %.orig
|
||||
%: %.orig | $(SOURCES)/config.sub
|
||||
rm -rf $@.tmp
|
||||
mkdir $@.tmp
|
||||
( cd $@.tmp && find ../$< -path '*/*/*' -prune -exec sh -c 'ln -s "$$@" .' ':' {} + )
|
||||
|
Loading…
Reference in New Issue
Block a user