Skip to content

Commit 5353308

Browse files
andyrossstephanosio
authored andcommitted
overlays/xtensa/mtk: Fixup and normalize file paths
The new directory structure in the upstream Cadence tarballs wasn't as compatible as I thought. Binutils will produce a working assembler, but only if it does NOT see the new xtensa-config.h (which was added in a path it doesn't look at). Also gcc ends up hitting the in-tree/non-overlayed xtensa-config.h and produces a big endian compiler! Don't be fancy. Move stuff around to match the older overlays exactly. Also add the "defs.h" inclusion as generated by make-overlay.sh, and rename the copy of xtensa-xtregs.c in gdbserver to .cc as required by current binutils and done by other sdk-ng overlays. And I'd forgotten the copy of core-isa.h for newlib (which SOF doesn't use, but should still be present in the SDK). Signed-off-by: Andy Ross <andyross@google.com> squashme defs.h
1 parent e3dd6ac commit 5353308

File tree

23 files changed

+192
-0
lines changed

23 files changed

+192
-0
lines changed

overlays/xtensa_mtk_mt818x_adsp/gdb/xtensa-config.c renamed to overlays/xtensa_mtk_mt818x_adsp/gdb/gdb/xtensa-config.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#define XTENSA_CONFIG_VERSION 0x70
2525

26+
#include "defs.h"
2627
#include "xtensa-config.h"
2728
#include "xtensa-tdep.h"
2829

0 commit comments

Comments
 (0)