]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim/cris: Fix references to cgen cpu directory
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 16 Oct 2018 09:49:15 +0000 (10:49 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 6 Dec 2018 12:21:11 +0000 (12:21 +0000)
commit23ebf37881dda7fcf9dd86125705a30b6e2084ce
treef3113adf7aa62a6b4228c87ab2c29274f4c350ff
parent7fb45a689543be75809a0513900d82f5bd859338
sim/cris: Fix references to cgen cpu directory

Don't assume that cgen is located within the binutils-gdb tree.  We
already have CGEN_CPU_DIR and CPU_DIR defined, these are the cpu/
directory within cgen, and the cpu/ directory within binutils-cpu.

The cris target tries to find CPU_DIR relative to the cgen source
tree, which can be wrong when building with an out of tree cgen.

sim/cris/ChangeLog:

* Makefile.in: Replace uses of CGEN_CPU_DIR with CPU_DIR, and
remove the definition of CGEN_CPU_DIR.
sim/cris/ChangeLog
sim/cris/Makefile.in