diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch b/meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch new file mode 100644 index 0000000000..0219cc8121 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch | |||
@@ -0,0 +1,125 @@ | |||
1 | Index: qemu-0.14.0/Makefile.target | ||
2 | =================================================================== | ||
3 | --- qemu-0.14.0.orig/Makefile.target | ||
4 | +++ qemu-0.14.0/Makefile.target | ||
5 | @@ -79,6 +79,12 @@ libobj-y += cpuid.o | ||
6 | endif | ||
7 | libobj-$(CONFIG_NEED_MMU) += mmu.o | ||
8 | libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o | ||
9 | +libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o | ||
10 | +libobj-$(TARGET_ARM) += dummygl.o | ||
11 | +libobj-$(TARGET_MIPS) += dummygl.o | ||
12 | +libobj-$(TARGET_MIPS64) += dummygl.o | ||
13 | +libobj-$(TARGET_PPC) += dummygl.o | ||
14 | +libobj-$(TARGET_SH4) += dummygl.o | ||
15 | libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o | ||
16 | |||
17 | libobj-y += disas.o | ||
18 | Index: qemu-0.14.0/target-arm/dummygl.c | ||
19 | =================================================================== | ||
20 | --- /dev/null | ||
21 | +++ qemu-0.14.0/target-arm/dummygl.c | ||
22 | @@ -0,0 +1,22 @@ | ||
23 | +#include <string.h> | ||
24 | +#include <stdlib.h> | ||
25 | +#include <assert.h> | ||
26 | +#include <stdint.h> | ||
27 | +#include <X11/Xlib.h> | ||
28 | +#include <X11/Xutil.h> | ||
29 | + | ||
30 | +void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window) | ||
31 | +{ | ||
32 | + | ||
33 | +} | ||
34 | + | ||
35 | +void opengl_process_enable(void) | ||
36 | +{ | ||
37 | + | ||
38 | +} | ||
39 | + | ||
40 | + | ||
41 | +void mem_opengl(uint64_t ptr) | ||
42 | +{ | ||
43 | + | ||
44 | +} | ||
45 | Index: qemu-0.14.0/target-mips/dummygl.c | ||
46 | =================================================================== | ||
47 | --- /dev/null | ||
48 | +++ qemu-0.14.0/target-mips/dummygl.c | ||
49 | @@ -0,0 +1,22 @@ | ||
50 | +#include <string.h> | ||
51 | +#include <stdlib.h> | ||
52 | +#include <assert.h> | ||
53 | +#include <stdint.h> | ||
54 | +#include <X11/Xlib.h> | ||
55 | +#include <X11/Xutil.h> | ||
56 | + | ||
57 | +void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window) | ||
58 | +{ | ||
59 | + | ||
60 | +} | ||
61 | + | ||
62 | +void opengl_process_enable(void) | ||
63 | +{ | ||
64 | + | ||
65 | +} | ||
66 | + | ||
67 | + | ||
68 | +void mem_opengl(uint64_t ptr) | ||
69 | +{ | ||
70 | + | ||
71 | +} | ||
72 | Index: qemu-0.14.0/target-ppc/dummygl.c | ||
73 | =================================================================== | ||
74 | --- /dev/null | ||
75 | +++ qemu-0.14.0/target-ppc/dummygl.c | ||
76 | @@ -0,0 +1,22 @@ | ||
77 | +#include <string.h> | ||
78 | +#include <stdlib.h> | ||
79 | +#include <assert.h> | ||
80 | +#include <stdint.h> | ||
81 | +#include <X11/Xlib.h> | ||
82 | +#include <X11/Xutil.h> | ||
83 | + | ||
84 | +void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window) | ||
85 | +{ | ||
86 | + | ||
87 | +} | ||
88 | + | ||
89 | +void opengl_process_enable(void) | ||
90 | +{ | ||
91 | + | ||
92 | +} | ||
93 | + | ||
94 | + | ||
95 | +void mem_opengl(uint64_t ptr) | ||
96 | +{ | ||
97 | + | ||
98 | +} | ||
99 | Index: qemu-0.14.0/target-sh4/dummygl.c | ||
100 | =================================================================== | ||
101 | --- /dev/null | ||
102 | +++ qemu-0.14.0/target-sh4/dummygl.c | ||
103 | @@ -0,0 +1,22 @@ | ||
104 | +#include <string.h> | ||
105 | +#include <stdlib.h> | ||
106 | +#include <assert.h> | ||
107 | +#include <stdint.h> | ||
108 | +#include <X11/Xlib.h> | ||
109 | +#include <X11/Xutil.h> | ||
110 | + | ||
111 | +void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window) | ||
112 | +{ | ||
113 | + | ||
114 | +} | ||
115 | + | ||
116 | +void opengl_process_enable(void) | ||
117 | +{ | ||
118 | + | ||
119 | +} | ||
120 | + | ||
121 | + | ||
122 | +void mem_opengl(uint64_t ptr) | ||
123 | +{ | ||
124 | + | ||
125 | +} | ||