mirror_qemu/target
Philippe Mathieu-Daudé dcb32f1d8f tcg: Search includes from the project root source directory
We currently search both the root and the tcg/ directories for tcg
files:

  $ git grep '#include "tcg/' | wc -l
  28

  $ git grep '#include "tcg[^/]' | wc -l
  94

To simplify the preprocessor search path, unify by expliciting the
tcg/ directory.

Patch created mechanically by running:

  $ for x in \
      tcg.h tcg-mo.h tcg-op.h tcg-opc.h \
      tcg-op-gvec.h tcg-gvec-desc.h; do \
    sed -i "s,#include \"$x\",#include \"tcg/$x\"," \
      $(git grep -l "#include \"$x\""); \
    done

Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc parts)
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200101112303.20724-2-philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2020-01-15 15:13:10 -10:00
..
alpha tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
arm tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
cris tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
hppa tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
i386 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
lm32 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
m68k tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
microblaze tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
mips tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
moxie tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
nios2 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
openrisc tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
ppc tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
riscv tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
s390x tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
sh4 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
sparc tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
tilegx tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
tricore tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
unicore32 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
xtensa tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00