diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 16:44:50 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 17:06:50 -0500 |
commit | 0a4d338dd017cba31395888ac7fe960371915fb5 (patch) | |
tree | c57439c6c12411d48c80ee5c20cb038702e51e7d /sim/ppc/local.mk | |
parent | a243f0a5a184d571ce3bb73b1f11f64b6ebfdcfd (diff) | |
download | binutils-0a4d338dd017cba31395888ac7fe960371915fb5.zip binutils-0a4d338dd017cba31395888ac7fe960371915fb5.tar.gz binutils-0a4d338dd017cba31395888ac7fe960371915fb5.tar.bz2 |
sim: ppc: unify igen filter_filename implementations
Now that both igen implementations are in the top-level, we can unify
the filter_filename implementation between them since they're the same
(literally the same code).
Diffstat (limited to 'sim/ppc/local.mk')
-rw-r--r-- | sim/ppc/local.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/local.mk b/sim/ppc/local.mk index 9156422..c72668c 100644 --- a/sim/ppc/local.mk +++ b/sim/ppc/local.mk @@ -48,7 +48,6 @@ EXTRA_LIBRARIES += %D%/libigen.a %D%/table.c \ %D%/lf.c \ %D%/misc.c \ - %D%/filter_host.c \ %D%/ld-decode.c \ %D%/ld-cache.c \ %D%/filter.c \ @@ -59,6 +58,7 @@ EXTRA_LIBRARIES += %D%/libigen.a %D%/gen-semantics.c \ %D%/gen-idecode.c \ %D%/gen-support.c +%C%_libigen_a_LIBADD = igen/filter_host.o %C%_igen_SOURCES = %D%/igen.c %C%_igen_LDADD = %D%/libigen.a @@ -78,7 +78,7 @@ SIM_ALL_RECURSIVE_DEPS += $(PPC_IGEN) $(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_igen_OBJECTS) $(%C%_igen_LDADD) $(%C%_libigen_a_OBJECTS) $(%C%_igen_OBJECTS): %D%/%.o: %D%/%.c - $(AM_V_CC)$(COMPILE_FOR_BUILD) -c $< -o $@ + $(AM_V_CC)$(COMPILE_FOR_BUILD) -I$(srcdir)/igen -I$(srcdir)/%D% -c $< -o $@ ## Build some of the files in standalone mode for developers of igen itself. %D%/%-main.o: %D%/%.c |