[36/83] sim: build: drop common/nrun.o subdir hack

Message ID 20230103075605.13606-37-vapier@gentoo.org
State Committed
Headers
Series sim: merge subdir makefiles into top-level |

Commit Message

Mike Frysinger Jan. 3, 2023, 7:55 a.m. UTC
  Now that all the subdirs handle their own builds, we can drop this
common rule as it's unused, and we don't want to use it anymore.
---
 sim/Makefile.am | 3 ---
 sim/Makefile.in | 3 ---
 2 files changed, 6 deletions(-)
  

Patch

diff --git a/sim/Makefile.am b/sim/Makefile.am
index 8a4a160b30cd..e47244d7b8dd 100644
--- a/sim/Makefile.am
+++ b/sim/Makefile.am
@@ -188,9 +188,6 @@  endif
 ## Helper targets for running make from the top-level when some subdirs still
 ## have Makefiles in subdirs.
 
-%/nrun.o: common/nrun.c | %/libsim.a $(SIM_ALL_RECURSIVE_DEPS)
-	$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
 all-recursive: $(SIM_ALL_RECURSIVE_DEPS)
 
 install-data-local: installdirs $(SIM_INSTALL_DATA_LOCAL_DEPS)