diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2010-12-27 16:32:21 -0600 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2010-12-27 16:32:21 -0600 |
commit | af40e14ce335fa689d1a989feba3c02a8c71b7a7 (patch) | |
tree | 90ce1d53eb63627d90ec7f081b680a66c92e8705 /meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch | |
parent | ba8b8a99fd1598d0ce2cbaa69e9d16358d1ff5db (diff) | |
download | meta-intel-af40e14ce335fa689d1a989feba3c02a8c71b7a7.tar.gz |
meta-emenlow: move to meta-intel repo from poky repo
This is the meta-emenlow layer, moved from the poky repo in order to
keep all the meta-intel BSPs together.
This version builds against laverne (0.90) - detailed build
instruction can be found in the README file.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch')
-rw-r--r-- | meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch new file mode 100644 index 00000000..ac38eceb --- /dev/null +++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | # Make the libva depend on libdrm-poulsbo instead of libdrm so that the | ||
2 | # emenlow libdrm can coexist with the normal libdrm. | ||
3 | # jdike@linux.intel.com | ||
4 | |||
5 | Index: libva-0.31.0/configure.ac | ||
6 | =================================================================== | ||
7 | --- libva-0.31.0.orig/configure.ac | ||
8 | +++ libva-0.31.0/configure.ac | ||
9 | @@ -99,14 +99,14 @@ AC_SYS_LARGEFILE | ||
10 | PKG_CHECK_MODULES([X11], [x11]) | ||
11 | PKG_CHECK_MODULES([XEXT],[xext]) | ||
12 | PKG_CHECK_MODULES([XFIXES], [xfixes]) | ||
13 | -PKG_CHECK_MODULES([DRM], [libdrm]) | ||
14 | +PKG_CHECK_MODULES([DRM], [libdrm_poulsbo]) | ||
15 | |||
16 | PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.0], [gen4asm=yes], [gen4asm=no]) | ||
17 | AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes) | ||
18 | |||
19 | # Check for libdrm >= 2.4 (needed for i965_drv_video.so) | ||
20 | -if test x$enable_i965_driver = xyes && ! $PKG_CONFIG --atleast-version=2.4 libdrm; then | ||
21 | - AC_MSG_WARN([libdrm < 2.4 found, disabling build of i965 video driver]) | ||
22 | +if test x$enable_i965_driver = xyes && ! $PKG_CONFIG --atleast-version=2.4 libdrm_poulsbo; then | ||
23 | + AC_MSG_WARN([libdrm_poulsbo < 2.4 found, disabling build of i965 video driver]) | ||
24 | enable_i965_driver=no | ||
25 | fi | ||
26 | AM_CONDITIONAL(BUILD_I965_DRIVER, test x$enable_i965_driver = xyes) | ||