mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
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>
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2021-05-07 Dimitar Dimitrov <dimitar@dinux.eu>
|
||||||
|
|
||||||
|
* Makefile.in: Rebuild.
|
||||||
|
|
||||||
2021-05-04 Tom Tromey <tromey@adacore.com>
|
2021-05-04 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
* Makefile.in: Rebuild.
|
* Makefile.in: Rebuild.
|
||||||
|
@ -731,7 +731,8 @@ LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@
|
|||||||
EXTRA_DEJAGNU_SITE_CONFIG = site-srcdir.exp
|
EXTRA_DEJAGNU_SITE_CONFIG = site-srcdir.exp
|
||||||
testsuite_common_CPPFLAGS = \
|
testsuite_common_CPPFLAGS = \
|
||||||
-I$(srcdir)/common \
|
-I$(srcdir)/common \
|
||||||
-I$(srcroot)/include
|
-I$(srcroot)/include \
|
||||||
|
-I../bfd
|
||||||
|
|
||||||
all: all-recursive
|
all: all-recursive
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2021-05-07 Dimitar Dimitrov <dimitar@dinux.eu>
|
||||||
|
|
||||||
|
* local.mk (%C%_CPPFLAGS): Add ../bfd include path.
|
||||||
|
|
||||||
2021-04-08 Mike Frysinger <vapier@gentoo.org>
|
2021-04-08 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* lib/sim-defs.exp (run_sim_test): Set status to unsupported if
|
* lib/sim-defs.exp (run_sim_test): Set status to unsupported if
|
||||||
|
@ -29,7 +29,8 @@ check_PROGRAMS += $(TESTS)
|
|||||||
|
|
||||||
%C%_CPPFLAGS = \
|
%C%_CPPFLAGS = \
|
||||||
-I$(srcdir)/common \
|
-I$(srcdir)/common \
|
||||||
-I$(srcroot)/include
|
-I$(srcroot)/include \
|
||||||
|
-I../bfd
|
||||||
|
|
||||||
# These tests are build-time only tools. Override the default rules for them.
|
# These tests are build-time only tools. Override the default rules for them.
|
||||||
%D%/%.o: %D%/%.c
|
%D%/%.o: %D%/%.c
|
||||||
|
Reference in New Issue
Block a user