build: Change conditional include and empty.mk to -include in Makefiles
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 23 Jun 2020 14:03:40 +0000 (10:03 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 23 Jun 2020 17:28:09 +0000 (17:28 +0000)
commit17964eb3a054c634b743aae9d1d9414e1bf21885
treed2a54a775f5fa36e4e4a8c60bde22d5ad2ea7e1c
parentaec24341d0aac1ca57031d066503c420fb850023
build: Change conditional include and empty.mk to -include in Makefiles

GNU Make supports "-include" keyword to prevent warnings and errors due to
inclusion of non-existent files.  This patch changes gcc/ and libgcc/ to use
"-include" in place of the historical conditional inclusion and use of
empty.mk work-arounds.

gcc/ChangeLog

2020-06-23  David Edelsohn  <dje.gcc@gmail.com>

* Makefile.in (LANG_MAKEFRAGS): Same.
(tmake_file): Use -include.
(xmake_file): Same.

libgcc/ChangeLog

2020-06-23  David Edelsohn  <dje.gcc@gmail.com>

* Makefile.in: Remove uses of empty.mk. Use -include.
* config/avr/t-avr: Use -include.
* empty.mk: Delete.

libgcc/config/avr/libf7/ChangeLog

2020-06-23  David Edelsohn  <dje.gcc@gmail.com>

* t-libf7: Same.
gcc/Makefile.in
libgcc/Makefile.in
libgcc/config/avr/libf7/t-libf7
libgcc/config/avr/t-avr
libgcc/empty.mk [deleted file]