aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-03-22 10:54:30 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-03-26 14:17:03 -0700
commit2745c3bbf362600006994fe0a72cacc2117e6bf4 (patch)
treede09c4f8ad0b03e3ddeebd6d82732dacc0b54e1c /target/xtensa
parentdda2441b2bc6844eb4900bf4a7db83157dcd6c3c (diff)
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>
Diffstat (limited to 'target/xtensa')
-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"