mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-12 03:43:33 +08:00
e7ad52cde6
I had reason yesterday to want to regenerate configury files which I do with --enable-maintainer-mode, and added --enable-cgen-maint accidentally. The first problem I hit is that sim looks for cgen in a different directory by default than opcodes, and I had my source layout set up for opcodes rather than sim. Fix that by making both use ../cgen first, then ../../cgen relative to sim/ and opcodes/. The next problem was that various sim local.mk files expected generated sources in the build dir rather than the source dir. Fix that by adding $(srcdir) to paths. Finally, the generated iq2000 files had a compile error, fixed by the cpu/iq2000.cpu patch. cpu/ * iq2000.cpu (syscall): Add pc arg. opcodes/ * configure.ac (cgendir): Default to ../../cgen, but use ../cgen if found there. * configure: Regenerate. sim/m4/ * sim_ac_option_cgen_maint.m4 (cgendir): Look in ../cgen too. sim/ * cris/local.mk: Add $(srcdir) to paths for regenerated source. * frv/local.mk: Likewise. * iq2000/local.mk: Likewise. * lm32/local.mk: Likewise. * m32r/local.mk: Likewise. * or1k/local.mk: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. |
||
---|---|---|
.. | ||
ChangeLog | ||
cris.cpu | ||
epiphany.cpu | ||
epiphany.opc | ||
fr30.cpu | ||
fr30.opc | ||
frv.cpu | ||
frv.opc | ||
ip2k.cpu | ||
ip2k.opc | ||
iq10.cpu | ||
iq2000.cpu | ||
iq2000.opc | ||
iq2000m.cpu | ||
lm32.cpu | ||
lm32.opc | ||
m32c.cpu | ||
m32c.opc | ||
m32r.cpu | ||
m32r.opc | ||
mep-avc2.cpu | ||
mep-avc.cpu | ||
mep-c5.cpu | ||
mep-core.cpu | ||
mep-default.cpu | ||
mep-ext-cop.cpu | ||
mep-fmax.cpu | ||
mep-h1.cpu | ||
mep-ivc2.cpu | ||
mep-rhcop.cpu | ||
mep-sample-ucidsp.cpu | ||
mep.cpu | ||
mep.opc | ||
mt.cpu | ||
mt.opc | ||
or1k.cpu | ||
or1k.opc | ||
or1kcommon.cpu | ||
or1korbis.cpu | ||
or1korfpx.cpu | ||
sh64-compact.cpu | ||
sh64-media.cpu | ||
sh.cpu | ||
sh.opc | ||
simplify.inc | ||
xstormy16.cpu | ||
xstormy16.opc |