mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
bfd targmatch.h makefile rule
I hit this just now with a make -j build after touching config.bfd. mv: cannot stat 'targmatch.new': No such file or directory make[2]: *** [Makefile:2336: targmatch.h] Error 1 make[2]: *** Waiting for unfinished jobs.... Fix that by not removing the target of the rule, a practice that seems likely to cause parallel running of the rule recipe. The bug goes back to 1997, the initial c0734708814c commit. * Makefile.am (targmatch.h): rm the temp file, not targmatch.h. * Makefile.in: Regenerate.
This commit is contained in:
@ -801,7 +801,7 @@ libbfd.a: stamp-lib ; @true
|
|||||||
# vector names. It is built from config.bfd. It is not compiled by
|
# vector names. It is built from config.bfd. It is not compiled by
|
||||||
# itself, but is included by targets.c.
|
# itself, but is included by targets.c.
|
||||||
targmatch.h: config.bfd targmatch.sed
|
targmatch.h: config.bfd targmatch.sed
|
||||||
$(AM_V_at)rm -f targmatch.h
|
$(AM_V_at)rm -f targmatch.new
|
||||||
$(AM_V_GEN)$(SED) -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
|
$(AM_V_GEN)$(SED) -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
|
||||||
$(AM_V_at)mv -f targmatch.new targmatch.h
|
$(AM_V_at)mv -f targmatch.new targmatch.h
|
||||||
|
|
||||||
|
@ -2331,7 +2331,7 @@ libbfd.a: stamp-lib ; @true
|
|||||||
# vector names. It is built from config.bfd. It is not compiled by
|
# vector names. It is built from config.bfd. It is not compiled by
|
||||||
# itself, but is included by targets.c.
|
# itself, but is included by targets.c.
|
||||||
targmatch.h: config.bfd targmatch.sed
|
targmatch.h: config.bfd targmatch.sed
|
||||||
$(AM_V_at)rm -f targmatch.h
|
$(AM_V_at)rm -f targmatch.new
|
||||||
$(AM_V_GEN)$(SED) -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
|
$(AM_V_GEN)$(SED) -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
|
||||||
$(AM_V_at)mv -f targmatch.new targmatch.h
|
$(AM_V_at)mv -f targmatch.new targmatch.h
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user