sim: Add bfd include path for common testsuite tools
authorDimitar Dimitrov <dimitar@dinux.eu>
Mon, 5 Apr 2021 16:21:35 +0000 (19:21 +0300)
committerDimitar Dimitrov <dimitar@dinux.eu>
Fri, 7 May 2021 18:02:34 +0000 (21:02 +0300)
commit0d315c88a77a811fdfad0b9fdaa4d8b337cc0a39
treeeb1bc4c0793401df3ca98c6cb3bee3fe9b5e1f31
parent476654beaead1ac1b4322c01722ace865e4adee4
sim: Add bfd include path for common testsuite tools

On a host without installed libbfd, this patch fixes the following
"make check-sim" errors for both pru cross target, and native x86_64:

In file included from ../../../binutils/sim/common/sim-basics.h:131,
                 from testsuite/common/bits32m0.c:13:../../../binutils/sim/../include/gdb/callback.h:55:10: fatal error: bfd.h: No such file or directory
   55 | #include "bfd.h"
      |          ^~~~~~~

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
sim/ChangeLog
sim/Makefile.in
sim/testsuite/ChangeLog
sim/testsuite/common/local.mk