From: Mike Frysinger Date: Mon, 31 Oct 2022 12:31:14 +0000 (+0545) Subject: sim: common: remove unused include paths X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca7b34c5bead0acd3c93670d849081da04f5bcd9;p=binutils-gdb.git sim: common: remove unused include paths A bunch of these paths don't include any headers, and most likely never will, so there's no real need to keep them. This will let us harmonize paths with the top-level Makefile more easily, which will in turn make it easier to move more compile steps there. --- diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index b07ec96e147..094f7412b23 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -206,10 +206,10 @@ CONFIG_CFLAGS = \ $(SIM_WARN_CFLAGS) \ $(SIM_WERROR_CFLAGS) \ $(SIM_HARDWARE) -CSEARCH = -I. -I$(srcdir) -I../common -I$(srccom) \ - -I../../include -I$(srcroot)/include \ +CSEARCH = -I. -I$(srcdir) -I$(srccom) \ + -I$(srcroot)/include \ -I../../bfd -I$(srcroot)/bfd \ - -I../../opcodes -I$(srcroot)/opcodes \ + -I$(srcroot)/opcodes \ -I../.. \ $(INTL_CFLAGS) ALL_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH) $(INCGNU) $(SIM_EXTRA_CFLAGS) $(CFLAGS)