2001-01-06 Ben Elliston <bje@redhat.com>
* cgen.sh: Allow extrafiles to include the semantics files when generating an ISA-specific decoder.
This commit is contained in:
parent
7eae7d229a
commit
63fe103861
2 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-01-06 Ben Elliston <bje@redhat.com>
|
||||||
|
|
||||||
|
* cgen.sh: Allow extrafiles to include the semantics files when
|
||||||
|
generating an ISA-specific decoder.
|
||||||
|
|
||||||
2000-12-27 Alexandre Oliva <aoliva@redhat.com>
|
2000-12-27 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* Make-common.in (sim-io.o): Depend on targ-vals.h.
|
* Make-common.in (sim-io.o): Depend on targ-vals.h.
|
||||||
|
|
|
@ -97,6 +97,12 @@ cpu | decode | cpu-decode)
|
||||||
fileopts="$fileopts \
|
fileopts="$fileopts \
|
||||||
-T tmp-dec.h1 \
|
-T tmp-dec.h1 \
|
||||||
-D tmp-dec.c1"
|
-D tmp-dec.c1"
|
||||||
|
case "$extrafiles" in
|
||||||
|
ignored) # Do nothing.
|
||||||
|
;;
|
||||||
|
*) fileopts="$fileopts $extrafiles"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -151,6 +157,15 @@ cpu | decode | cpu-decode)
|
||||||
sed $sedscript < tmp-dec.c1 > tmp-dec.c
|
sed $sedscript < tmp-dec.c1 > tmp-dec.c
|
||||||
${rootdir}/move-if-change tmp-dec.c ${srcdir}/decode${suffix}.c
|
${rootdir}/move-if-change tmp-dec.c ${srcdir}/decode${suffix}.c
|
||||||
|
|
||||||
|
if test -f tmp-sem.c1 ; then \
|
||||||
|
sed $sedscript < tmp-sem.c1 > tmp-sem.c ; \
|
||||||
|
${rootdir}/move-if-change tmp-sem.c ${srcdir}/sem${suffix}.c ; \
|
||||||
|
fi
|
||||||
|
if test -f tmp-semsw.c1 ; then \
|
||||||
|
sed $sedscript < tmp-semsw.c1 > tmp-semsw.c ; \
|
||||||
|
${rootdir}/move-if-change tmp-semsw.c ${srcdir}/sem${suffix}-switch.c ; \
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f tmp-dec.h1 tmp-dec.c1
|
rm -f tmp-dec.h1 tmp-dec.c1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue