]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: common: remove unused include paths
authorMike Frysinger <vapier@gentoo.org>
Mon, 31 Oct 2022 12:31:14 +0000 (18:16 +0545)
committerMike Frysinger <vapier@gentoo.org>
Thu, 3 Nov 2022 07:06:21 +0000 (12:51 +0545)
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.

sim/common/Make-common.in

index b07ec96e14744eb7172e53d6444776183cf3df19..094f7412b236904f6732c332843802fe7e879773 100644 (file)
@@ -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)