[oe-commits] Dallas Foley : libdrm_2.4.17: disable intel for non-x86
git version control
git at git.openembedded.org
Fri Jan 22 11:54:44 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: 728ce9aa3d63d9086ab302ac8ba447b3709912d8
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=728ce9aa3d63d9086ab302ac8ba447b3709912d8
Author: Dallas Foley <dfoley at techsol.ca>
Date: Thu Jan 21 08:49:43 2010 +0000
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 at gmail.com>
---
recipes/dri/libdrm_2.4.17.bb | 6 ++++--
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 4f2af1e..fd1ab3a 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.*"
More information about the Openembedded-commits
mailing list