summaryrefslogtreecommitdiff
path: root/recipes/dri
diff options
context:
space:
mode:
authorDallas Foley <dfoley@techsol.ca>2010-01-21 08:49:43 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2010-01-21 20:21:38 +0100
commit728ce9aa3d63d9086ab302ac8ba447b3709912d8 (patch)
tree62acf56a8770a702a57131fa695aa38f28856351 /recipes/dri
parent33762d41c0e68ea1c130e9fd2e283f70e2338592 (diff)
libdrm_2.4.17: disable intel for non-x86
* older version 2.4.11 builds OK on arm, but not 2.4.17 * someone with x86 and intel, please test Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/dri')
-rw-r--r--recipes/dri/libdrm_2.4.17.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/dri/libdrm_2.4.17.bb b/recipes/dri/libdrm_2.4.17.bb
index 4f2af1ed73..fd1ab3a5e4 100644
--- a/recipes/dri/libdrm_2.4.17.bb
+++ b/recipes/dri/libdrm_2.4.17.bb
@@ -3,14 +3,16 @@ DEPENDS = "libpthread-stubs"
LICENSE = "MIT"
SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
PROVIDES = "drm"
-PR = "r1"
+PR = "r2"
inherit autotools pkgconfig
+EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '', '--disable-intel',d)}"
+
do_stage() {
autotools_stage_all
}
-PACKAGES =+ "${PN}-intel"
+PACKAGES =+ "${@base_contains('MACHINE_FEATURES', 'x86', '${PN}-intel', '',d)}"
FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"