[poky] OpenGL Machine config -- was Re: [PATCH 1/1] task-core-lsb: Add library libQtOpenGL* to n450, sugarbay and jasperforest
Mark Hatle
mark.hatle at windriver.com
Fri May 20 05:35:02 PDT 2011
Looking at this, it seems unreasonable, overtime, to specify every machine that
has OpenGL support. Would it make sense to look at making some type of machine
or distro flag that indicates we have OpenGL support.. Then QT [and presumably
others] can use that flag to determine the proper value?
--Mark
On 5/20/11 7:27 AM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan <xiaofeng.yan at windriver.com>
>
> For passing hardware test for LSB, I add libQtOpenGL* to three platforms above.
>
> Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>
> ---
> .../recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend | 3 +++
> meta/recipes-extended/tasks/task-core-lsb.bb | 10 ++++++++++
> 2 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend b/meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend
> index e5911e3..172f090 100644
> --- a/meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend
> +++ b/meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend
> @@ -1,3 +1,6 @@
> QT_GLFLAGS_atom-pc = "-opengl"
> QT_GLFLAGS_mpc8315e-rdb = "-opengl"
> QT_GLFLAGS_emenlow = "-opengl"
> +QT_GLFLAGS_jasperforest = "-opengl"
> +QT_GLFLAGS_n450 = "-opengl"
> +QT_GLFLAGS_sugarbay = "-opengl"
> diff --git a/meta/recipes-extended/tasks/task-core-lsb.bb b/meta/recipes-extended/tasks/task-core-lsb.bb
> index b6c5ae5..63ea7dd 100644
> --- a/meta/recipes-extended/tasks/task-core-lsb.bb
> +++ b/meta/recipes-extended/tasks/task-core-lsb.bb
> @@ -187,6 +187,16 @@ RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\
> libqtopengl4 \
> "
>
> +RDEPENDS_task-core-lsb-graphic-add_append_n450 = "\
> + libqtopengl4 \
> +"
> +RDEPENDS_task-core-lsb-graphic-add_append_sugarbay = "\
> + libqtopengl4 \
> +"
> +RDEPENDS_task-core-lsb-graphic-add_append_jasperforest = "\
> + libqtopengl4 \
> +"
> +
> # mesa-dri
>
> RDEPENDS_task-core-lsb-runtime-add = "\
More information about the poky
mailing list