All of lore.kernel.org
 help / color / mirror / Atom feed
* libdrm_2.4.17 fails to build on arm
@ 2010-01-21 18:49 Dallas Foley
  2010-01-21 19:23 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Dallas Foley @ 2010-01-21 18:49 UTC (permalink / raw)
  To: openembedded-devel

Older version 2.4.11 builds Ok on arm, but not 2.4.17
I modified it to build on armv7a. However, I'm not sure if it's the correct way.


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.*"




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: libdrm_2.4.17 fails to build on arm
  2010-01-21 18:49 libdrm_2.4.17 fails to build on arm Dallas Foley
@ 2010-01-21 19:23 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2010-01-21 19:23 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jan 21, 2010 at 10:49:43AM -0800, Dallas Foley wrote:
> Older version 2.4.11 builds Ok on arm, but not 2.4.17
> I modified it to build on armv7a. However, I'm not sure if it's the correct way.

Pushed thanks!

Someone with x86 and intel, please test

> 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.*"
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-21 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21 18:49 libdrm_2.4.17 fails to build on arm Dallas Foley
2010-01-21 19:23 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.