summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa/cross2.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-13 09:20:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:18:09 +0100
commit77fa7e113b9be222c902ecab8bf3d25de991d1c8 (patch)
tree4f99da21d3a275b01c773e4eb9b11b5299ea74be /meta/recipes-graphics/mesa/mesa/cross2.patch
parent462f77aa3a6a9b055f4435b10eb24013bec1b374 (diff)
downloadpoky-77fa7e113b9be222c902ecab8bf3d25de991d1c8.tar.gz
mesa: move common patches which could be used in both mesa-dri and mesa-xlib from mesa-dri to mesa
(From OE-Core rev: 76f4be998f6608799b66821a334f1ca7ddc2aba2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa/cross2.patch')
-rw-r--r--meta/recipes-graphics/mesa/mesa/cross2.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa/cross2.patch b/meta/recipes-graphics/mesa/mesa/cross2.patch
new file mode 100644
index 0000000000..264c153087
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa/cross2.patch
@@ -0,0 +1,46 @@
1Upstream-Status: Pending
2
3Index: git/configure.ac
4===================================================================
5--- git.orig/configure.ac 2009-09-01 16:38:26.000000000 +0100
6+++ git/configure.ac 2009-09-01 16:38:47.000000000 +0100
7@@ -269,15 +269,6 @@
8 GLAPI_ASM_SOURCES=""
9 AC_MSG_CHECKING([whether to enable assembly])
10 test "x$enable_asm" = xno && AC_MSG_RESULT([no])
11-# disable if cross compiling on x86/x86_64 since we must run gen_matypes
12-if test "x$enable_asm" = xyes && test "x$cross_compiling" = xyes; then
13- case "$host_cpu" in
14- i?86 | x86_64)
15- enable_asm=no
16- AC_MSG_RESULT([no, cross compiling])
17- ;;
18- esac
19-fi
20 # check for supported arches
21 if test "x$enable_asm" = xyes; then
22 case "$host_cpu" in
23Index: git/src/mesa/x86/Makefile
24===================================================================
25--- git.orig/src/mesa/x86/Makefile 2009-09-01 16:40:02.000000000 +0100
26+++ git/src/mesa/x86/Makefile 2009-09-01 16:40:13.000000000 +0100
27@@ -14,19 +14,6 @@
28 -I../tnl
29
30
31-default: gen_matypes matypes.h
32-
33-clean:
34- -rm -f matypes.h gen_matypes
35-
36-
37-gen_matypes: gen_matypes.c
38- $(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes
39-
40-# need some special rules here, unfortunately
41-matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
42- ./gen_matypes > matypes.h
43-
44 common_x86_asm.o: matypes.h
45 3dnow_normal.o: matypes.h
46 3dnow_xform1.o: matypes.h