From 728ce9aa3d63d9086ab302ac8ba447b3709912d8 Mon Sep 17 00:00:00 2001 From: Dallas Foley Date: Thu, 21 Jan 2010 08:49:43 +0000 Subject: [PATCH] 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 --- recipes/dri/libdrm_2.4.17.bb | 6 ++++-- 1 file 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.*" -- 2.39.5