summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Filippov2018-03-22 18:54:30 +0100
committerMax Filippov2018-03-26 23:17:03 +0200
commit2745c3bbf362600006994fe0a72cacc2117e6bf4 (patch)
treede09c4f8ad0b03e3ddeebd6d82732dacc0b54e1c
parenttarget/xtensa: add .inc. to non-top level source file names (diff)
downloadqemu-2745c3bbf362600006994fe0a72cacc2117e6bf4.tar.gz
qemu-2745c3bbf362600006994fe0a72cacc2117e6bf4.tar.xz
qemu-2745c3bbf362600006994fe0a72cacc2117e6bf4.zip
target/xtensa/import_core.sh: fix #include <xtensa-isa.h>
Change #include <xtensa-isa.h> to #include "xtensa-isa.h" in imported files to make references to local files consistent. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rwxr-xr-xtarget/xtensa/import_core.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/import_core.sh b/target/xtensa/import_core.sh
index 58a42987d8..af6c610479 100755
--- a/target/xtensa/import_core.sh
+++ b/target/xtensa/import_core.sh
@@ -33,6 +33,7 @@ tar -xf "$OVERLAY" -O binutils/xtensa-modules.c | \
-e '/^uint32 \*bypass_entry(int i)/,/}/d' \
-e '/^#include "ansidecl.h"/d' \
-e '/^Slot_[a-zA-Z0-9_]\+_decode (const xtensa_insnbuf insn)/,/^}/s/^ return 0;$/ return XTENSA_UNDEFINED;/' \
+ -e 's/#include <xtensa-isa.h>/#include "xtensa-isa.h"/' \
> "$TARGET"/xtensa-modules.inc.c
cat <<EOF > "${TARGET}.c"