mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
link as.new only if there is something to link to
This commit is contained in:
@ -225,6 +225,8 @@ OBJS = \
|
|||||||
# The real definition is under `all.internal'.
|
# The real definition is under `all.internal'.
|
||||||
|
|
||||||
all: $(ALL)
|
all: $(ALL)
|
||||||
|
all-info:
|
||||||
|
install-info:
|
||||||
|
|
||||||
fake-as: force
|
fake-as: force
|
||||||
- rm -f ./as.new
|
- rm -f ./as.new
|
||||||
@ -510,17 +512,17 @@ bootstrap3: force
|
|||||||
stage1: force
|
stage1: force
|
||||||
-mkdir stage1
|
-mkdir stage1
|
||||||
-mv $(STAGESTUFF) stage1
|
-mv $(STAGESTUFF) stage1
|
||||||
if [ ! -f stage1/as ] ; then (cd stage1 ; ln -s as.new as) ; fi
|
if [ -f stage1/as.new -a ! -f stage1/as ] ; then (cd stage1 ; ln -s as.new as) ; fi
|
||||||
|
|
||||||
stage2: force
|
stage2: force
|
||||||
-mkdir stage2
|
-mkdir stage2
|
||||||
-mv $(STAGESTUFF) stage2
|
-mv $(STAGESTUFF) stage2
|
||||||
if [ ! -f stage2/as ] ; then (cd stage2 ; ln -s as.new as) ; fi
|
if [ -f stage2/as.new -a ! -f stage2/as ] ; then (cd stage2 ; ln -s as.new as) ; fi
|
||||||
|
|
||||||
stage3: force
|
stage3: force
|
||||||
-mkdir stage3
|
-mkdir stage3
|
||||||
-mv $(STAGESTUFF) stage3
|
-mv $(STAGESTUFF) stage3
|
||||||
if [ ! -f stage3/as ] ; then (cd stage3 ; ln -s as.new as) ; fi
|
if [ -f stage3/as.new -a ! -f stage3/as ] ; then (cd stage3 ; ln -s as.new as) ; fi
|
||||||
|
|
||||||
against=stage2
|
against=stage2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user