From: Max Filippov Date: Fri, 10 Feb 2017 03:13:42 +0000 (-0800) Subject: target/xtensa: add two missing headers to core import script X-Git-Tag: v2.9.0-rc0~21^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb3825b9afdb1800cef1be9c9a732c803d8bb29e;p=thirdparty%2Fqemu.git 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 --- diff --git a/target/xtensa/import_core.sh b/target/xtensa/import_core.sh index 351bee41c2d..cebb6e9c4c6 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 < "${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"