diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 10:38:37 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 11:22:38 +0700 |
commit | cb9bdc02fdf1650341276861f6ca7e7a215a1ce6 (patch) | |
tree | 0d2c0a5d5831c1580948f6e37fa296c4431acc32 /sim/cris | |
parent | bfc96c1039d33b1ed0c8b2e1b6fb3859a693cfe9 (diff) | |
download | gdb-cb9bdc02fdf1650341276861f6ca7e7a215a1ce6.zip gdb-cb9bdc02fdf1650341276861f6ca7e7a215a1ce6.tar.gz gdb-cb9bdc02fdf1650341276861f6ca7e7a215a1ce6.tar.bz2 |
sim: cris: move rvdummy linking to top-level
This is only used by `make check`, so we can move it out of the
default build too.
Diffstat (limited to 'sim/cris')
-rw-r--r-- | sim/cris/Makefile.in | 13 | ||||
-rw-r--r-- | sim/cris/local.mk | 7 |
2 files changed, 8 insertions, 12 deletions
diff --git a/sim/cris/Makefile.in b/sim/cris/Makefile.in index 7b69c11..3474eb9 100644 --- a/sim/cris/Makefile.in +++ b/sim/cris/Makefile.in @@ -39,20 +39,9 @@ SIM_EXTRA_CLEAN = cris-clean arch = cris -# rvdummy is just used for testing. It does nothing if -# --enable-sim-hardware isn't active. - -all: rvdummy$(EXEEXT) - -check: rvdummy$(EXEEXT) - -rvdummy$(EXEEXT): rvdummy.o $(EXTRA_LIBDEPS) - $(ECHO_CCLD) $(LIBTOOL) $(AM_V_lt) --tag=CC --mode=link \ - $(CC) $(ALL_CFLAGS) -o rvdummy$(EXEEXT) rvdummy.o $(EXTRA_LIBS) - cris-clean: -rm -f stamp-arch - -rm -f tmp-* rvdummy$(EXEEXT) + -rm -f tmp-* # Useful when making CGEN-generated files manually, without --enable-cgen-maint. stamps: stamp-arch stamp-v10fcpu stamp-v32fcpu diff --git a/sim/cris/local.mk b/sim/cris/local.mk index 9416b7e..62a3f8e 100644 --- a/sim/cris/local.mk +++ b/sim/cris/local.mk @@ -16,6 +16,13 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <http://www.gnu.org/licenses/>. +## rvdummy is just used for testing -- it runs on the same host as `run`. +## It does nothing if --enable-sim-hardware isn't active. +%C%_rvdummy_SOURCES = %D%/rvdummy.c +%C%_rvdummy_LDADD = $(LIBIBERTY_LIB) + +check_PROGRAMS += %D%/rvdummy + %C%_BUILD_OUTPUTS = \ %D%/engv10.h \ %D%/mloopv10f.c \ |