Add libQtOpenGL* to three hardware platform
cover Add libQtOpenGL* to three hardware platform
From: Xiaofeng Yan <[email protected]>
For passing lsb test on hardware, I add this library to n450,sugarbay and jasperforest.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/opengl
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/opengl
Thanks,
Xiaofeng Yan <[email protected]>
---
Xiaofeng Yan (1):
task-core-lsb: Add library libQtOpenGL* to n450,sugarbay and
jasperforest
.../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(-)
PATCH 1/1 task-core-lsb: Add library libQtOpenGL* to n450, sugarbay and jasperforest
From: Xiaofeng Yan <[email protected]>
For passing hardware test for LSB, I add libQtOpenGL* to three platforms above.
--- .../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(-)
meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend +3 -0
@@ -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"
meta/recipes-extended/tasks/task-core-lsb.bb +10 -0
@@ -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 = "\
Signature · 1 line
1.7.0.4
OpenGL Machine config -- was Re: [PATCH 1/1] task-core-lsb: Add library libQtOpenGL* to n450, sugarbay and jasperforest
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
Quoted 42 lines · Xiaofeng Yan
From: Xiaofeng Yan <[email protected]>
For passing hardware test for LSB, I add libQtOpenGL* to three platforms above.
Signed-off-by Xiaofeng Yan <[email protected]>--- .../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(-)meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend +3
-0@@ -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"meta/recipes-extended/tasks/task-core-lsb.bb +10
-0@@ -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 = "\
Re: OpenGL Machine config -- was Re: [PATCH 1/1] task-core-lsb: Add library libQtOpenGL* to n450, sugarbay and jasperforest
Quoted 5 lines · Mark Hatle
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?
Quoted 51 lines
--Mark
Quoted 32 lines · Xiaofeng Yan
From: Xiaofeng Yan<[email protected]>
For passing hardware test for LSB, I add libQtOpenGL* to three platforms above.
Signed-off-by Xiaofeng Yan<[email protected]>--- .../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(-)meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend +3
-0@@ -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"meta/recipes-extended/tasks/task-core-lsb.bb +3
-0@@ -187,6 +187,16 @@ RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\ libqtopengl4 \ " +RDEPENDS_task-core-lsb-graphic-add_append_n450 = "\ + libqtopengl4 \ +"meta/recipes-extended/tasks/task-core-lsb.bb RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\ · line 202
Quoted 10 lines
meta/recipes-extended/tasks/task-core-lsb.bb +7
-0+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
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Re: OpenGL Machine config -- was Re: [PATCH 1/1] task-core-lsb: Add library libQtOpenGL* to n450, sugarbay and jasperforest
Quoted 6 lines · Saul Wold
Quoted 5 lines · Mark Hatle
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?
Quoted 8 lines
For both this patch and the previous RDEPENDS fix, can we not use
TARGET_ARCHvalue 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
Quoted 53 lines
Quoted 52 lines
--Mark
Quoted 32 lines · Xiaofeng Yan
From: Xiaofeng Yan<[email protected]>
For passing hardware test for LSB, I add libQtOpenGL* to three platforms above.
Signed-off-by Xiaofeng Yan<[email protected]>--- .../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(-)meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.3.bbappend +3
-0@@ -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"meta/recipes-extended/tasks/task-core-lsb.bb +3
-0@@ -187,6 +187,16 @@ RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\ libqtopengl4 \ " +RDEPENDS_task-core-lsb-graphic-add_append_n450 = "\ + libqtopengl4 \ +"meta/recipes-extended/tasks/task-core-lsb.bb RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\ · line 202
Quoted 10 lines
meta/recipes-extended/tasks/task-core-lsb.bb +7
-0+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
[email protected]
https://lists.yoctoproject.org/listinfo/poky