diff options
Diffstat (limited to 'meta/packages/mesa/mesa-dri/cross2.patch')
-rw-r--r-- | meta/packages/mesa/mesa-dri/cross2.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/packages/mesa/mesa-dri/cross2.patch b/meta/packages/mesa/mesa-dri/cross2.patch new file mode 100644 index 0000000000..3c62a469ed --- /dev/null +++ b/meta/packages/mesa/mesa-dri/cross2.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | Index: git/configure.ac | ||
2 | =================================================================== | ||
3 | --- git.orig/configure.ac 2009-08-14 16:16:23.000000000 +0100 | ||
4 | +++ git/configure.ac 2009-08-14 16:17:27.000000000 +0100 | ||
5 | @@ -268,15 +268,6 @@ | ||
6 | GLAPI_ASM_SOURCES="" | ||
7 | AC_MSG_CHECKING([whether to enable assembly]) | ||
8 | test "x$enable_asm" = xno && AC_MSG_RESULT([no]) | ||
9 | -# disable if cross compiling on x86/x86_64 since we must run gen_matypes | ||
10 | -if test "x$enable_asm" = xyes && test "x$cross_compiling" = xyes; then | ||
11 | - case "$host_cpu" in | ||
12 | - i?86 | x86_64) | ||
13 | - enable_asm=no | ||
14 | - AC_MSG_RESULT([no, cross compiling]) | ||
15 | - ;; | ||
16 | - esac | ||
17 | -fi | ||
18 | # check for supported arches | ||
19 | if test "x$enable_asm" = xyes; then | ||
20 | case "$host_cpu" in | ||
21 | Index: git/src/mesa/x86/Makefile | ||
22 | =================================================================== | ||
23 | --- git.orig/src/mesa/x86/Makefile 2009-08-14 16:18:23.000000000 +0100 | ||
24 | +++ git/src/mesa/x86/Makefile 2009-08-14 16:19:10.000000000 +0100 | ||
25 | @@ -14,19 +14,6 @@ | ||
26 | -I../tnl | ||
27 | |||
28 | |||
29 | -default: gen_matypes matypes.h | ||
30 | - | ||
31 | -clean: | ||
32 | - -rm -f matypes.h gen_matypes | ||
33 | - | ||
34 | - | ||
35 | -gen_matypes: gen_matypes.c | ||
36 | - $(HOST_CC) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes | ||
37 | - | ||
38 | -# need some special rules here, unfortunately | ||
39 | -matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes | ||
40 | - ./gen_matypes > matypes.h | ||
41 | - | ||
42 | common_x86_asm.o: matypes.h | ||
43 | 3dnow_normal.o: matypes.h | ||
44 | 3dnow_xform1.o: matypes.h | ||