diff options
author | Ross Burton <ross.burton@intel.com> | 2013-09-12 15:33:56 +0100 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-09-12 18:07:05 -0500 |
commit | b9bea40063ef7a66e31e1a06cfc24332c1c07a9b (patch) | |
tree | 92030d69e4dd9e5a861de43141105742ebc93695 /common/recipes-graphics/xorg-driver | |
parent | 4f5c753fb2db0cb1f6989ea3be270eebf3ea3572 (diff) | |
download | meta-intel-1.5_M5.rc2.tar.gz |
xf86-video-mga: respect opengl DISTRO_FEATUREyocto-1.5_M5.rc21.5_M5.rc2
Respect the opengl DISTRO_FEATURE and enable/disable DRI as appropriate.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'common/recipes-graphics/xorg-driver')
-rw-r--r-- | common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb b/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb index 9ddf25fe..8d9e4ae7 100644 --- a/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb +++ b/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb | |||
@@ -8,9 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bc1395d2cd32dfc5d6c57d2d8f83d3fc" | |||
8 | 8 | ||
9 | SRC_URI += "file://checkfile.patch" | 9 | SRC_URI += "file://checkfile.patch" |
10 | 10 | ||
11 | DEPENDS += "virtual/libx11 drm xf86driproto glproto virtual/libgl libpciaccess" | 11 | DEPENDS += "virtual/libx11 libpciaccess" |
12 | |||
13 | EXTRA_OECONF += "--enable-dri" | ||
14 | 12 | ||
15 | PR = "r1" | 13 | PR = "r1" |
16 | 14 | ||
@@ -19,4 +17,7 @@ COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' | |||
19 | SRC_URI[md5sum] = "f543877db4e260d8b43c7da3095605ed" | 17 | SRC_URI[md5sum] = "f543877db4e260d8b43c7da3095605ed" |
20 | SRC_URI[sha256sum] = "3f89ce250eea93f0de890954687790e06c0bab9e3e303df393e8759a187eca6c" | 18 | SRC_URI[sha256sum] = "3f89ce250eea93f0de890954687790e06c0bab9e3e303df393e8759a187eca6c" |
21 | 19 | ||
20 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}" | ||
21 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xf86driproto,xserver-xorg-extension-dri" | ||
22 | |||
22 | RDEPENDS_${PN} = "xserver-xorg-module-exa" | 23 | RDEPENDS_${PN} = "xserver-xorg-module-exa" |