public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: build: drop support for subdir extra deps
@ 2023-01-10  6:22 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2023-01-10  6:22 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7a1e1f94636358e642631869d0918e758feefd03

commit 7a1e1f94636358e642631869d0918e758feefd03
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Dec 25 14:38:48 2022 -0500

    sim: build: drop support for subdir extra deps
    
    Nothing uses this hook anymore, so punt it.  It was largely used to
    track generated files (which we do in the top-level now) and extra
    header files (which we use automake depgen for now).

Diff:
---
 sim/README-HACKING        |  3 ---
 sim/common/Make-common.in | 14 --------------
 2 files changed, 17 deletions(-)

diff --git a/sim/README-HACKING b/sim/README-HACKING
index c47eef8ce73..38d871b1514 100644
--- a/sim/README-HACKING
+++ b/sim/README-HACKING
@@ -46,9 +46,6 @@ The Makefile.in of a simulator using the common framework should look like:
 
 # List of object files, less common parts.
 SIM_OBJS =
-# List of extra dependencies.
-# Generally this consists of simulator specific files included by sim-main.h.
-SIM_EXTRA_DEPS =
 # List of flags to always pass to $(CC).
 SIM_EXTRA_CFLAGS =
 # Dependency of `clean' to clean any extra files.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index b56a49a0051..ab26c494359 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -85,9 +85,6 @@ POSTCOMPILE = @true
 
 # List of object files, less common parts.
 SIM_OBJS =
-# List of extra dependencies.
-# Generally this consists of simulator specific files included by sim-main.h.
-SIM_EXTRA_DEPS =
 # List of flags to always pass to $(CC).
 SIM_EXTRA_CFLAGS =
 # List of main object files for `run'.
@@ -185,17 +182,6 @@ override POSTCOMPILE =
 endif
 
 all_object_files = $(LIB_OBJS) $(SIM_RUN_OBJS)
-generated_files = \
-	$(SIM_EXTRA_DEPS)
-
-# Ensure that generated files are created early.  Use order-only
-# dependencies if available.  They require GNU make 3.80 or newer,
-# and the .VARIABLES variable was introduced at the same time.
-ifdef .VARIABLES
-$(all_object_files): | $(generated_files)
-else
-$(all_object_files) : $(generated_files)
-endif
 
 # Dependencies.
 -include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-10  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-10  6:22 [binutils-gdb] sim: build: drop support for subdir extra deps Michael Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).