projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68755c
)
target/xtensa: add two missing headers to core import script
author
Max Filippov
<jcmvbkbc@gmail.com>
Fri, 10 Feb 2017 03:13:42 +0000
(19:13 -0800)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Thu, 23 Feb 2017 18:50:56 +0000
(10:50 -0800)
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>
target/xtensa/import_core.sh
patch
|
blob
|
history
diff --git
a/target/xtensa/import_core.sh
b/target/xtensa/import_core.sh
index 351bee41c2d2fd6ac9a6ded42ea0d79b0ff995b2..cebb6e9c4c6160c58612d80e9981794c42a864b5 100755
(executable)
--- 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"