diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-18 21:54:36 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-24 18:42:34 -0400 |
commit | 547112801156ff51bbb44f86dd9a2ca4b4723d41 (patch) | |
tree | 6051d6e2c890279b8faed6a4f736ad2dbde023ae /opcodes/Makefile.am | |
parent | 32e2770e59582f3bea022e20d0cf6722700e7578 (diff) | |
download | gdb-547112801156ff51bbb44f86dd9a2ca4b4723d41.zip gdb-547112801156ff51bbb44f86dd9a2ca4b4723d41.tar.gz gdb-547112801156ff51bbb44f86dd9a2ca4b4723d41.tar.bz2 |
opcodes: cris: move desc & opc files from sim/
All other cgen ports keep their generated desc & opc files under
opcodes/, so move the cris files over too. The cris-opc.c file,
while not generated, is already here to complement.
Diffstat (limited to 'opcodes/Makefile.am')
-rw-r--r-- | opcodes/Makefile.am | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 04980f3..ddae8bd 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -60,6 +60,7 @@ BUILD_LIB_DEPS = @BUILD_LIB_DEPS@ HFILES = \ aarch64-asm.h aarch64-dis.h aarch64-opc.h aarch64-tbl.h \ bpf-desc.h bpf-opc.h \ + cris-desc.h cris-opc.h \ epiphany-desc.h epiphany-opc.h \ fr30-desc.h fr30-opc.h \ frv-desc.h frv-opc.h \ @@ -108,6 +109,7 @@ TARGET_LIBOPCODES_CFILES = \ cgen-opc.c \ cr16-dis.c \ cr16-opc.c \ + cris-desc.c \ cris-dis.c \ cris-opc.c \ crx-dis.c \ @@ -371,10 +373,11 @@ CGENDEPS = \ $(CGENDIR)/opc-opinst.scm \ cgen-asm.in cgen-dis.in cgen-ibld.in -CGEN_CPUS = epiphany fr30 frv ip2k iq2000 lm32 m32c m32r mep mt or1k xc16x xstormy16 +CGEN_CPUS = cris epiphany fr30 frv ip2k iq2000 lm32 m32c m32r mep mt or1k xc16x xstormy16 if CGEN_MAINT BPF_DEPS = stamp-bpf +CRIS_DEPS = stamp-cris EPIPHANY_DEPS = stamp-epiphany FR30_DEPS = stamp-fr30 FRV_DEPS = stamp-frv @@ -390,6 +393,7 @@ XC16X_DEPS = stamp-xc16x XSTORMY16_DEPS = stamp-xstormy16 else BPF_DEPS = +CRIS_DEPS = EPIPHANY_DEPS = FR30_DEPS = FRV_DEPS = @@ -431,6 +435,15 @@ stamp-bpf: $(CGENDEPS) $(CPUDIR)/bpf.cpu $(CPUDIR)/bpf.opc $(MAKE) run-cgen arch=bpf prefix=bpf \ archfile=$(CPUDIR)/bpf.cpu opcfile=$(CPUDIR)/bpf.opc +$(srcdir)/cris-desc.h $(srcdir)/cris-desc.c $(srcdir)/cris-opc.h: $(CRIS_DEPS) + @true + +stamp-cris: $(CGENDEPS) $(CPUDIR)/cris.cpu + $(SHELL) $(srcdir)/cgen.sh desc $(srcdir) $(CGEN) \ + $(CGENDIR) "$(CGENFLAGS)" cris cris $(CPUDIR)/cris.cpu /dev/null \ + "$(options)" "$(extrafiles)" + touch $@ + $(srcdir)/epiphany-desc.h $(srcdir)/epiphany-desc.c $(srcdir)/epiphany-opc.h \ $(srcdir)/epiphany-opc.c $(srcdir)/epiphany-ibld.c \ $(srcdir)/epiphany-opinst.c $(srcdir)/epiphany-asm.c \ |