diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-06 16:56:39 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-11 01:44:16 +0700 |
commit | 267058274c08c2df61d5f83a5f1d864eee2ccf34 (patch) | |
tree | c918faede180d7b9d341cd772d96431abbb757f1 /sim/aarch64/local.mk | |
parent | 007b6af6e18810a408aac4132134037b4dc8d206 (diff) | |
download | gdb-267058274c08c2df61d5f83a5f1d864eee2ccf34.zip gdb-267058274c08c2df61d5f83a5f1d864eee2ccf34.tar.gz gdb-267058274c08c2df61d5f83a5f1d864eee2ccf34.tar.bz2 |
sim: modules.c: move generation to top-level
In order to compile arch objects from the top-level, we need to
generate the modules.c file, so move that logic up to the top
level first. The deps are a bit imperfect currently due to the
common/ files not being shared. That'll improve as we share the
sources more.
Diffstat (limited to 'sim/aarch64/local.mk')
-rw-r--r-- | sim/aarch64/local.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sim/aarch64/local.mk b/sim/aarch64/local.mk index bbcf592..62095f7 100644 --- a/sim/aarch64/local.mk +++ b/sim/aarch64/local.mk @@ -47,6 +47,5 @@ $(%C%_libsim_a_OBJECTS) $(%C%_run_OBJECTS) $(%C%_libsim_a_LIBADD): | $(SIM_ALL_R %D%/%.o: common/%.c | $(SIM_ALL_RECURSIVE_DEPS) $(AM_V_CC)$(COMPILE) -c -o $@ $< -# See sim_pre_argv_init and sim_module_install in sim-module.c for more details. -#%D%/modules.c: %D%/stamp-modules ; @true -#%D%/stamp-modules: Makefile $(%C%_libsim_a_SOURCES) ; $(DO_MODULES_C) +%D%/modules.c: %D%/stamp-modules ; @true +%D%/stamp-modules: Makefile $(%C%_libsim_a_SOURCES) ; $(GEN_MODULES_C) |