[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 13:49:53 PDT 2011
On 5/20/11 2:42 PM, Saul Wold wrote:
> On 05/20/2011 05:35 AM, Mark Hatle wrote:
>> 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?
>>
> For both this patch and the previous RDEPENDS fix, can we not use
> TARGET_ARCH value for the flag.
>
> So QT_GLFLAGS_powerpc = "-opengl", or is that going to be too general?
>
> Or QT_GLFLAGS_i586 = "-opengl"? I notice crownbay is missing below also
> is that because it won't support opengl?
>
I have a feeling the ARCH value is too generic, but I don't know that for sure.
If I understand what this is for, it really depends on the machine configuration
and if it has hardware opengl acceleration or not. So some SOCs will have it
and some won't.
--Mark
>
>> --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 = "\
>>
>> _______________________________________________
>> poky mailing list
>> poky at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>>
>
More information about the poky
mailing list