]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/Makefile.in
sim: move common flags to default AM_CPPFLAGS
authorMike Frysinger <vapier@gentoo.org>
Mon, 31 Oct 2022 12:50:52 +0000 (18:35 +0545)
committerMike Frysinger <vapier@gentoo.org>
Thu, 3 Nov 2022 07:10:19 +0000 (12:55 +0545)
commita1af8f405cfa5bdb8c521768d662e322fc8dde63
tree87086f1507a5623eb63f0ca72c44efc47baf56e9
parent46a1e1f20b1192da31104f9ed436ea33328c79d4
sim: move common flags to default AM_CPPFLAGS

Since all host files we compile use these settings, move them out of
libcommon.a and into the default AM_CPPFLAGS.  This has the effect of
dropping the custom per-target automake rules.  Currently it saves us
~150 lines, but since it's about ~8 lines per object, the overhead
will increase quite a bit as we merge more files into a single build.

This also changes the object output names, so we have to tweak the
rules that were pulling in the common objects when linking.
sim/Makefile.am
sim/Makefile.in
sim/common/Make-common.in
sim/common/local.mk
sim/ppc/Makefile.in