aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-12-08 01:54:43 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2020-01-06 11:46:16 -0800
commitca3c979d6be82e88bd19ade3f6e4c9c2bc4887ea (patch)
tree6bb99a680dfdb6659a4a3760a24b865635a3aa97 /target
parent6c438056c2910b14e6bc0d5b5272dd87fbc65495 (diff)
target/xtensa: import xtensa/config/core-isa.h
Import core-isa.h from its canonical place in the configuration overlay. Drop --xform option from the tar command line. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/xtensa/import_core.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/xtensa/import_core.sh b/target/xtensa/import_core.sh
index e4a2e39f63..97c3219deb 100755
--- a/target/xtensa/import_core.sh
+++ b/target/xtensa/import_core.sh
@@ -19,8 +19,8 @@ exit
[ $# -ge 3 ] && FREQ="$3"
mkdir -p "$TARGET"
-tar -xf "$OVERLAY" -C "$TARGET" --strip-components=1 \
- --xform='s/core/core-isa/' config/core.h
+tar -xf "$OVERLAY" -C "$TARGET" --strip-components=2 \
+ xtensa/config/core-isa.h
tar -xf "$OVERLAY" -O gdb/xtensa-config.c | \
sed -n '1,/*\//p;/XTREG/,/XTREG_END/p' > "$TARGET"/gdb-config.inc.c
#