Patchwork mesa-common: allow empty PN

login
register
mail settings
Submitter Martin Jansa
Date Nov. 29, 2011, 8:36 a.m.
Message ID <1322555768-9095-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/15569/
State Accepted
Commit 1052e24d72e6a77af3f3073a34dfc5a522d49616
Headers show

Comments

Martin Jansa - Nov. 29, 2011, 8:36 a.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Martin Jansa - Nov. 29, 2011, 8:38 a.m.
On Tue, Nov 29, 2011 at 09:36:08AM +0100, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/recipes-graphics/mesa/mesa-common.inc |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
> index 7d729b4..df035e6 100644
> --- a/meta/recipes-graphics/mesa/mesa-common.inc
> +++ b/meta/recipes-graphics/mesa/mesa-common.inc
> @@ -38,6 +38,9 @@ EXTRA_OECONF = "--enable-glu \
>  # Multiple virtual/gl providers being built breaks staging
>  EXCLUDE_FROM_WORLD = "1"
>  
> +# ie mesa-dri could be empty and mesa-dri-dev RDEPENDS on it
> +ALLOW_EMPTY_${PN} = "1"
> +
>  PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
>  FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
>  FILES_libgl = "${libdir}/libGL.so.*"
> -- 
> 1.7.8.rc4
> 

This is needed because
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012580.html

Cheers,
Richard Purdie - Nov. 29, 2011, 12:47 p.m.
On Tue, 2011-11-29 at 09:38 +0100, Martin Jansa wrote:
> On Tue, Nov 29, 2011 at 09:36:08AM +0100, Martin Jansa wrote:
> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > ---
> >  meta/recipes-graphics/mesa/mesa-common.inc |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> > 
> > diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
> > index 7d729b4..df035e6 100644
> > --- a/meta/recipes-graphics/mesa/mesa-common.inc
> > +++ b/meta/recipes-graphics/mesa/mesa-common.inc
> > @@ -38,6 +38,9 @@ EXTRA_OECONF = "--enable-glu \
> >  # Multiple virtual/gl providers being built breaks staging
> >  EXCLUDE_FROM_WORLD = "1"
> >  
> > +# ie mesa-dri could be empty and mesa-dri-dev RDEPENDS on it
> > +ALLOW_EMPTY_${PN} = "1"
> > +
> >  PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
> >  FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
> >  FILES_libgl = "${libdir}/libGL.so.*"
> > -- 
> > 1.7.8.rc4
> > 
> 
> This is needed because
> http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012580.html

I've taken this, thanks.

Richard

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 7d729b4..df035e6 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -38,6 +38,9 @@  EXTRA_OECONF = "--enable-glu \
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
 
+# ie mesa-dri could be empty and mesa-dri-dev RDEPENDS on it
+ALLOW_EMPTY_${PN} = "1"
+
 PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
 FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
 FILES_libgl = "${libdir}/libGL.so.*"