[06/10] Remove INCLUDE variable from some sim Makefiles

Message ID 20210408203312.2938165-7-tom@tromey.com
State New
Headers show
Series
  • sim build improvements
Related show

Commit Message

Tom Tromey April 8, 2021, 8:33 p.m.
Some Makefiles in sim define INCLUDE but don't use it.  This removes
these instances.

2021-04-08  Tom Tromey  <tom@tromey.com>

	* Makefile.in (INCLUDE): Remove.

sim/m68hc11/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* Makefile.in (INCLUDE): Remove.

sim/mn10300/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* Makefile.in (INCLUDE): Remove.

sim/v850/ChangeLog
2021-04-08  Tom Tromey  <tom@tromey.com>

	* Makefile.in (INCLUDE): Remove.
---
 sim/bfin/ChangeLog      | 4 ++++
 sim/bfin/Makefile.in    | 2 --
 sim/m68hc11/ChangeLog   | 4 ++++
 sim/m68hc11/Makefile.in | 3 ---
 sim/mn10300/ChangeLog   | 4 ++++
 sim/mn10300/Makefile.in | 2 --
 sim/v850/ChangeLog      | 4 ++++
 sim/v850/Makefile.in    | 2 --
 8 files changed, 16 insertions(+), 9 deletions(-)

-- 
2.26.2

Comments

Mike Frysinger via Gdb-patches April 9, 2021, 12:27 a.m. | #1
On 08 Apr 2021 14:33, Tom Tromey wrote:
> Some Makefiles in sim define INCLUDE but don't use it.  This removes

> these instances.


lgtm, thanks
-mike

Patch

diff --git a/sim/bfin/Makefile.in b/sim/bfin/Makefile.in
index 0c3e7551d4f..a5c16764682 100644
--- a/sim/bfin/Makefile.in
+++ b/sim/bfin/Makefile.in
@@ -29,8 +29,6 @@  SIM_OBJS = \
 	machs.o \
 	sim-resume.o
 
-INCLUDE = bfin-sim.h
-
 SIM_EXTRA_CFLAGS = @SDL_CFLAGS@
 SIM_EXTRA_LIBS = @SDL_LIBS@ -lm
 
diff --git a/sim/m68hc11/Makefile.in b/sim/m68hc11/Makefile.in
index 9ebcf65c629..8a044914ed6 100644
--- a/sim/m68hc11/Makefile.in
+++ b/sim/m68hc11/Makefile.in
@@ -36,9 +36,6 @@  SIM_EXTRA_CFLAGS = -DWITH_TARGET_WORD_BITSIZE=32 \
 		   -DWITH_TARGET_WORD_MSB=31
 SIM_EXTRA_CLEAN = clean-extra
 
-INCLUDE = $(srcdir)/../../include/gdb/callback.h \
-	  interrupts.h sim-main.h
-
 
 ## COMMON_POST_CONFIG_FRAG
 
diff --git a/sim/mn10300/Makefile.in b/sim/mn10300/Makefile.in
index b966b07187b..4b715cb46d6 100644
--- a/sim/mn10300/Makefile.in
+++ b/sim/mn10300/Makefile.in
@@ -32,8 +32,6 @@  SIM_EXTRA_DEPS = mn10300_sim.h itable.h idecode.h
 # Select mn10300 support in nltvals.def.
 NL_TARGET = -DNL_TARGET_mn10300
 
-INCLUDE = mn10300_sim.h $(srcdir)/../../include/gdb/callback.h
-
 # List of extra flags to always pass to $(CC).
 SIM_EXTRA_CFLAGS = -DPOLL_QUIT_INTERVAL=0x20
 
diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in
index 1f9d8c55c37..3e1b4054174 100644
--- a/sim/v850/Makefile.in
+++ b/sim/v850/Makefile.in
@@ -35,8 +35,6 @@  SIM_EXTRA_CFLAGS = \
 	-I$(srcdir)/../../newlib/libc/sys/sysnecv850
 SIM_EXTRA_CLEAN = clean-extra
 
-INCLUDE = $(sim_main_headers) $(SIM_EXTRA_DEPS) 
-
 NL_TARGET = -DNL_TARGET_v850
 
 ## COMMON_POST_CONFIG_FRAG