diff options
author | Max Filippov | 2017-02-10 04:13:42 +0100 |
---|---|---|
committer | Max Filippov | 2017-02-23 19:50:56 +0100 |
commit | cb3825b9afdb1800cef1be9c9a732c803d8bb29e (patch) | |
tree | e160f412bb5d6d238d52f1540131ca6f47053f75 | |
parent | target/xtensa: sim: instantiate local memories (diff) | |
download | qemu-cb3825b9afdb1800cef1be9c9a732c803d8bb29e.tar.gz qemu-cb3825b9afdb1800cef1be9c9a732c803d8bb29e.tar.xz qemu-cb3825b9afdb1800cef1be9c9a732c803d8bb29e.zip |
target/xtensa: add two missing headers to core import script
Include qemu/osdep.h and qemu-common.h at the beginning of imported
xtensa core source file.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rwxr-xr-x | target/xtensa/import_core.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/xtensa/import_core.sh b/target/xtensa/import_core.sh index 351bee41c2..cebb6e9c4c 100755 --- a/target/xtensa/import_core.sh +++ b/target/xtensa/import_core.sh @@ -25,9 +25,11 @@ tar -xf "$OVERLAY" -O gdb/xtensa-config.c | \ sed -n '1,/*\//p;/XTREG/,/XTREG_END/p' > "$TARGET"/gdb-config.c cat <<EOF > "${TARGET}.c" +#include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/gdbstub.h" +#include "qemu-common.h" #include "qemu/host-utils.h" #include "core-$NAME/core-isa.h" |