From: Ron Unrau Date: Sun, 1 Mar 1998 14:41:38 +0000 (+0000) Subject: sky-gdb.c: new file - temporary demo version of the sim interface X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aaab4e578d6b6ebdfdf63ec25e012ffde264d800;p=binutils-gdb.git sky-gdb.c: new file - temporary demo version of the sim interface sky-hardware.c: add sim commands Makefile.in: build sky-gdb.c --- diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in index 51b789622fd..157cee43902 100644 --- a/sim/mips/Makefile.in +++ b/sim/mips/Makefile.in @@ -18,7 +18,8 @@ SIM_SKY_OBJS = \ sky-libvpe.o \ sky-pke.o \ sky-vu0.o \ - sky-vu1.o + sky-vu1.o \ + sky-gdb.o # end-sanitize-sky SIM_IGEN_OBJ = \ @@ -72,7 +73,7 @@ SIM_EXTRA_CFLAGS = \ -I$(srcdir)/../../newlib/libc/sys/idt \ $(SIM_@sim_gen@_CFLAGS) -SIM_EXTRA_CLEAN = clean-igen clean-m16 clean-extra +SIM_EXTRA_CLEAN = clean-extra SIM_EXTRA_ALL = $(SIM_@sim_gen@_ALL) @@ -141,18 +142,21 @@ BUILT_SRC_FROM_IGEN = \ model.c \ support.h \ support.c \ - itable.h \ - itable.c \ engine.h \ engine.c \ - irun.c + irun.c \ -$(BUILT_SRC_FROM_IGEN): tmp-igen +# NB: Since these can be built by either tmp-igen or tmp-m16 +# they are explicitly marked as being dependant on the +# dependant on the selected generator. +BUILT_SRC_FROM_GEN = \ + itable.h \ + itable.c \ -.PHONY: clean-igen -clean-igen: - rm -f $(BUILT_SRC_FROM_IGEN) - rm -f tmp-igen +$(BUILT_SRC_FROM_GEN): $(SIM_@sim_gen@_ALL) + + +$(BUILT_SRC_FROM_IGEN): tmp-igen tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE) cd ../igen && $(MAKE) @@ -233,17 +237,9 @@ BUILT_SRC_FROM_M16 = \ m32_model.c \ m32_support.h \ m32_support.c \ - \ - itable.h \ - itable.c \ $(BUILT_SRC_FROM_M16): tmp-m16 -.PHONY: clean-m16 -clean-m16: - rm -f $(BUILT_SRC_FROM_M16) - rm -f tmp-m16 - tmp-m16: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE) cd ../igen && $(MAKE) ../igen/igen \ @@ -336,3 +332,8 @@ tmp-m16: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE) clean-extra: rm -f gencode oengine.c tmp.igen + rm -f $(BUILT_SRC_FROM_GEN) + rm -f $(BUILT_SRC_FROM_IGEN) + rm -f $(BUILT_SRC_FROM_M16) + rm -f tmp-igen + rm -f tmp-m16