diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-12-08 01:54:43 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2020-01-06 11:46:16 -0800 |
commit | ca3c979d6be82e88bd19ade3f6e4c9c2bc4887ea (patch) | |
tree | 6bb99a680dfdb6659a4a3760a24b865635a3aa97 /target | |
parent | 6c438056c2910b14e6bc0d5b5272dd87fbc65495 (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-x | target/xtensa/import_core.sh | 4 |
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 # |