From: Dallas Foley Date: Thu, 21 Jan 2010 08:49:43 +0000 (+0000) Subject: libdrm_2.4.17: disable intel for non-x86 X-Git-Tag: Release-2010-05/1~339^2~23^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728ce9aa3d63d9086ab302ac8ba447b3709912d8;p=openembedded.git 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 --- 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.*"