aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-02-21 19:02:47 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-27 23:50:52 -0500
commitf8069d55c1c9fac14d68d22c6f7681055c0fd6e0 (patch)
tree086d30475c69aac958ff05edc76f0ca4f416d568 /sim/erc32
parentb2287f90e46195d07e5a23507251a63536ff8aee (diff)
downloadgdb-f8069d55c1c9fac14d68d22c6f7681055c0fd6e0.zip
gdb-f8069d55c1c9fac14d68d22c6f7681055c0fd6e0.tar.gz
gdb-f8069d55c1c9fac14d68d22c6f7681055c0fd6e0.tar.bz2
sim: delete redundant SIM_EXTRA_ALL
We don't need a variable to add a dependency to the "all" target, and having one doesn't really add value. Switch to the target directly for the few ports that actually use this.
Diffstat (limited to 'sim/erc32')
-rw-r--r--sim/erc32/ChangeLog5
-rw-r--r--sim/erc32/Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index b518ae5..75c8089 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,8 @@
+2021-02-27 Mike Frysinger <vapier@gentoo.org>
+
+ * Makefile.in (SIM_EXTRA_ALL): Delete.
+ (all): New target.
+
2021-02-21 Mike Frysinger <vapier@gentoo.org>
* configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in
index 406af1e..0006922 100644
--- a/sim/erc32/Makefile.in
+++ b/sim/erc32/Makefile.in
@@ -24,7 +24,6 @@ READLINE_LIB = @READLINE@
SIM_OBJS = exec.o erc32.o func.o help.o float.o interf.o
SIM_RUN_OBJS = sis.o
SIM_EXTRA_LIBS = $(READLINE_LIB) $(TERMCAP_LIB) -lm
-SIM_EXTRA_ALL = sis
SIM_EXTRA_INSTALL = install-sis
SIM_EXTRA_CLEAN = clean-sis
@@ -38,6 +37,7 @@ SIM_EXTRA_CFLAGS = -DFAST_UART -I$(srcroot)
# `sis' doesn't need interf.o.
SIS_OFILES = exec.o erc32.o func.o help.o float.o
+all: sis
sis: sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
$(CC) $(ALL_CFLAGS) -o sis \
sis.o $(SIS_OFILES) $(COMMON_OBJS) $(EXTRA_LIBS)