diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2010-12-20 12:24:36 -0600 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-23 14:20:50 +0000 |
commit | eca21e63590c165c5aaf14cbd51c7f325b731aba (patch) | |
tree | e04b863b4a355e46a6ce526caf6dcc98713eb620 /meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch | |
parent | ab83f5f266ee7f66d14e3711ec84907750ea7e91 (diff) | |
download | poky-eca21e63590c165c5aaf14cbd51c7f325b731aba.tar.gz |
meta-emenlow: update to the new BSP layout
This modifies the meta-emenlow BSP layer to reflect the new BSP
standard layout as defined in the latestYocto BSP Developer's Guide.
There's no change in functionality here - this simply moves things
around, adds a README, and makes the SRCREVs local.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch')
-rw-r--r-- | meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch new file mode 100644 index 0000000000..a231596810 --- /dev/null +++ b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch | |||
@@ -0,0 +1,58 @@ | |||
1 | Index: mesa/configs/linux-dri | ||
2 | =================================================================== | ||
3 | --- mesa.orig/configs/linux-dri | ||
4 | +++ mesa/configs/linux-dri | ||
5 | @@ -3,11 +3,9 @@ | ||
6 | |||
7 | include $(TOP)/configs/default | ||
8 | |||
9 | -CONFIG_NAME = linux-dri | ||
10 | +$(warning ENVIRONMENT = $(shell printenv)) | ||
11 | |||
12 | -# Compiler and flags | ||
13 | -CC = gcc | ||
14 | -CXX = g++ | ||
15 | +CONFIG_NAME = linux-dri | ||
16 | |||
17 | #MKDEP = /usr/X11R6/bin/makedepend | ||
18 | #MKDEP = gcc -M | ||
19 | @@ -25,8 +23,6 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOU | ||
20 | -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \ | ||
21 | -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN | ||
22 | |||
23 | -X11_INCLUDES = -I/usr/X11R6/include | ||
24 | - | ||
25 | CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \ | ||
26 | $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS) | ||
27 | |||
28 | @@ -40,9 +36,6 @@ CXXFLAGS += -fno-strict-aliasing | ||
29 | |||
30 | ASM_SOURCES = | ||
31 | |||
32 | -# Library/program dependencies | ||
33 | -EXTRA_LIB_PATH=-L/usr/X11R6/lib | ||
34 | - | ||
35 | LIBDRM_CFLAGS = `pkg-config --cflags libdrm-poulsbo` | ||
36 | LIBDRM_LIB = `pkg-config --libs libdrm-poulsbo` | ||
37 | DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) | ||
38 | Index: mesa/configs/default | ||
39 | =================================================================== | ||
40 | --- mesa.orig/configs/default | ||
41 | +++ mesa/configs/default | ||
42 | @@ -17,8 +17,6 @@ MESA_VERSION = $(MESA_MAJOR).$(MESA_MINO | ||
43 | DRM_SOURCE_PATH=$(TOP)/../drm | ||
44 | |||
45 | # Compiler and flags | ||
46 | -CC = cc | ||
47 | -CXX = CC | ||
48 | CFLAGS = -O | ||
49 | CXXFLAGS = -O | ||
50 | LDFLAGS = | ||
51 | @@ -67,7 +65,6 @@ ASM_SOURCES = | ||
52 | # GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in | ||
53 | # order to build the Motif widget too) | ||
54 | GLW_SOURCES = GLwDrawA.c | ||
55 | -MOTIF_CFLAGS = -I/usr/include/Motif1.2 | ||
56 | |||
57 | |||
58 | # Directories to build | ||