Qt4, armv6, xserver-xorg changes
cover Qt4, armv6, xserver-xorg changes
The following changes since commit 486b17af3e4cced76e9852e7634f75ea87433db2:
shared-mime-info: Fix a parallel make race (2011-10-11 18:06:56 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/pull
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
GNUtoo (1):
conf: machine: includes: add armv6-novfp support
Martin Jansa (1):
xserver-xorg: drop xorg-minimal-fonts from RDEPENDS
Simon Busch (2):
qt4-embedded: remove dependency on tslib and use std. linux input
qt4-x11-free: bring back pkg-config fixups
meta/conf/machine/include/arm/arch-armv6.inc | 45 +++++++++++++------- meta/conf/machine/include/tune-arm1136j-s.inc | 10 ++++ .../xorg-xserver/xserver-xorg-1.11.1.inc | 2 + .../xorg-xserver/xserver-xorg-common.inc | 1 - meta/recipes-qt/qt4/files/qte.sh | 2 +- meta/recipes-qt/qt4/qt4-embedded.inc | 6 +- meta/recipes-qt/qt4/qt4-x11-free.inc | 16 +++++++- 7 files changed, 60 insertions(+), 22 deletions(-) create mode 100644 meta/conf/machine/include/tune-arm1136j-s.inc
Signature · 1 line
1.7.7
PATCH 1/4 qt4-embedded: remove dependency on tslib and use std. linux input
From: Simon Busch <[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most devices today is done with linux input interface. If some specific machine has a need for tslib support it should add the dependency in it's machine layer again and modify the profile script accordingly.
--- meta/recipes-qt/qt4/files/qte.sh | 2 +- meta/recipes-qt/qt4/qt4-embedded.inc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-qt/qt4/files/qte.sh +1 -1
@@ -2,6 +2,6 @@ if [ -e /dev/input/touchscreen0 ] then - QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0 + QWS_MOUSE_PROTO=LinuxInput:/dev/input/touchscreen0 export QWS_MOUSE_PROTO fi
meta/recipes-qt/qt4/qt4-embedded.inc +3 -3
@@ -2,8 +2,8 @@ DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is SECTION = "libs" LICENSE = "LGPLv2.1 | GPLv3" HOMEPAGE = "http://qt.nokia.com" -DEPENDS += "directfb tslib" -INC_PR = "r36" +DEPENDS += "directfb" +INC_PR = "r37" QT_BASE_NAME ?= "qt4-embedded" QT_BASE_LIB ?= "libqt-embedded"
@@ -15,7 +15,7 @@ QT_CONFIG_FLAGS += " \ -embedded ${QT_ARCH} \ -qtlibinfix ${QT_LIBINFIX} \ -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ - -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \ + -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \ -qt-kbd-tty \ -DQT_KEYPAD_NAVIGATION \ "
Signature · 1 line
1.7.7
PATCH 2/4 qt4-x11-free: bring back pkg-config fixups
From: Simon Busch <[email protected]>
With b40b9c024be5e1ec81a31961158b3e6b529acfe0 some pkg-config fixups where removed from qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc file to be used by qt4-x11-free and not qt4-embedded.
--- meta/recipes-qt/qt4/qt4-x11-free.inc | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-)
meta/recipes-qt/qt4/qt4-x11-free.inc +15 -1
@@ -5,7 +5,7 @@ HOMEPAGE = "http://qt.nokia.com" SECTION = "x11/libs" DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" -INC_PR = "r32" +INC_PR = "r33" QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " QT_GLFLAGS_qemux86 = "-opengl"
@@ -16,3 +16,17 @@ QT_BASE_LIB ?= "libqt" inherit qt4x11 +do_install_append() { + # fix pkgconfig, libtool and prl files + sed -i -e 's#I/usr/include#Iincludedir}#g' \ + -e 's#Iin#I${in#g' \ + ${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc + + # QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so + # manually fix it up here: + for pc in ${D}${libdir}/pkgconfig/*.pc ; do + sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):prefix}/include:" \ + -e "s,Cflags: ,Cflags: -IP{includedir}/${QT_BASE_NAME}/$(basename $pc .pc) ," \ + -e 's:IP{:I${:g' $pc + done +}
Signature · 1 line
1.7.7
Re: [oe-core 2/4] qt4-x11-free: bring back pkg-config fixups
Quoted 7 lines · On Wednesday 12 October 2011 08:45:03 Martin Jansa wrote:
From: Simon Busch <[email protected]>
With
b40b9c024be5e1ec81a31961158b3e6b529acfe0some pkg-config fixups where removed from qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc file to be used by qt4-x11-free and not qt4-embedded.
So why do we need these only in the X11 version? Surely they should be applicable to both embedded and X11, or not at all...?
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [oe-core 2/4] qt4-x11-free: bring back pkg-config fixups
Quoted 11 lines · Paul Eggleton
Quoted 7 lines · On Wednesday 12 October 2011 08:45:03 Martin Jansa wrote:
From: Simon Busch <[email protected]>
With
b40b9c024be5e1ec81a31961158b3e6b529acfe0some pkg-config fixups where removed from qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc file to be used by qt4-x11-free and not qt4-embedded.So why do we need these only in the X11 version? Surely they should be applicable to both embedded and X11, or not at all...?
With b40b9c024be5e1ec81a31961158b3e6b529acfe0 I removed this fixups from qt4.inc as I had problems with building agains qt4-embedded as cflags were incorrect in the created pkg-config files.
Now I switched my application to x11 and got other problems with the pkg-config files from qt4-x11-free which can be resolved with the fixups I removed before.
So you are right we need them for qt4-x11-free but not for qt4-embedded. I didn't investigated from where these differences are coming.
regards,
Simon
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/
Re: [oe-core 2/4] qt4-x11-free: bring back pkg-config fixups
Quoted 21 lines · Simon Busch
Quoted 11 lines · Paul Eggleton
Quoted 7 lines · On Wednesday 12 October 2011 08:45:03 Martin Jansa wrote:
From: Simon Busch <[email protected]>
With
b40b9c024be5e1ec81a31961158b3e6b529acfe0some pkg-config fixups where removed from qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc file to be used by qt4-x11-free and not qt4-embedded.So why do we need these only in the X11 version? Surely they should be applicable to both embedded and X11, or not at all...?
With
b40b9c024be5e1ec81a31961158b3e6b529acfe0I removed this fixups from qt4.inc as I had problems with building agains qt4-embedded as cflags were incorrect in the created pkg-config files.Now I switched my application to x11 and got other problems with the pkg-config files from qt4-x11-free which can be resolved with the fixups I removed before.
Quoted 6 lines
So you are right we need them for qt4-x11-free but not for qt4-embedded. I didn't investigated from where these differences are coming.
regards,
Simon
Still any comments on this or is the patch already accepted?
regards,
Simon
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/
PATCH 3/4 conf: machine: includes: add armv6-novfp support
In reply to Martin JansaFrom: GNUtoo <[email protected]>
--- meta/conf/machine/include/arm/arch-armv6.inc | 45 ++++++++++++++++--------- meta/conf/machine/include/tune-arm1136j-s.inc | 10 +++++ 2 files changed, 39 insertions(+), 16 deletions(-) create mode 100644 meta/conf/machine/include/tune-arm1136j-s.inc
meta/conf/machine/include/arm/arch-armv6.inc +29 -16
@@ -9,24 +9,37 @@ TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", " require conf/machine/include/arm/arch-armv5-dsp.inc # Little Endian -AVAILTUNES += "armv6 armv6t armv6hf armv6thf" -TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" -TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" -TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" -TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" +AVAILTUNES += "armv6 armv6t" +TUNE_FEATURES_tune-armv6 ?= "armv6" +TUNE_FEATURES_tune-armv6t ?= "armv6 thumb" +PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv6" +PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv6 armv6t" + +# Little Endian + VFP +AVAILTUNES += "armv6-vfp armv6t-vfp armv6hf-vfp armv6thf-vfp" +TUNE_FEATURES_tune-armv6-vfp ?= "armv6 vfp" +TUNE_FEATURES_tune-armv6t-vfp ?= "armv6 vfp thumb" +TUNE_FEATURES_tune-armv6hf-vfp ?= "${TUNE_FEATURES_tune-armv6-vfp} callconvention-hard" +TUNE_FEATURES_tune-armv6thf-vfp ?= "${TUNE_FEATURES_tune-armv6t-vfp} callconvention-hard" +PACKAGE_EXTRA_ARCHS_tune-armv6-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5-vfp} armv6-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6t-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5t-vfp} armv6-vfp armv6t-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6hf-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5hf-vfp} armv6hf-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6thf-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5thf-vfp} armv6hf-vfp armv6thf-vfp" # Big Endian -AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" +AVAILTUNES += "armv6b armv6tb" TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" -TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" -TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6tb} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-vfp armv6tb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv6b" +PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv6b armv6tb" +# Big Endian + VFP +AVAILTUNES += "armv6b-vfp armv6tb-vfp armv6hfb-vfp armv6thfb-vfp" +TUNE_FEATURES_tune-armv6b-vfp ?= "${TUNE_FEATURES_tune-armv6-vfp} bigendian" +TUNE_FEATURES_tune-armv6tb-vfp ?= "${TUNE_FEATURES_tune-armv6t-vfp} bigendian" +TUNE_FEATURES_tune-armv6hfb-vfp ?= "${TUNE_FEATURES_tune-armv6b-vfp} callconvention-hard" +TUNE_FEATURES_tune-armv6thfb-vfp ?= "${TUNE_FEATURES_tune-armv6tb-vfp} callconvention-hard" +PACKAGE_EXTRA_ARCHS_tune-armv6b-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv6b} armv6b-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6tb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv6t} armv6b-vfp armv6tb-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6hfb-vfp = "armv6hfb-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6thfb-vfp = "armv6hfb-vfp armv6thfb-vfp"
meta/conf/machine/include/tune-arm1136j-s.inc new file +10 -0
@@ -0,0 +1,10 @@ +DEFAULTTUNE ?= "arm1136js" + +require conf/machine/include/arm/arch-armv6.inc + +TUNEVALID[arm1136js] = "Enable arm1136js specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "arm1136js", "-mtune=arm1136j-s", "", d)}" + +AVAILTUNES += "arm1136js" +TUNE_FEATURES_tune-arm1136js = "${TUNE_FEATURES_tune-armv6t} arm1136js" +PACKAGE_EXTRA_ARCHS_tune-arm1136js = "${PACKAGE_EXTRA_ARCHS_tune-armv6t}"
Signature · 1 line
1.7.7
Re: [oe-core 3/4] conf: machine: includes: add armv6-novfp support
Quoted 1 line · Martin Jansa
-TUNE_FEATURES_tune-armv6 ?= "armv6 vfp"
<-TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb"
meta/conf/machine/include/arm/arch-armv6.inc TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", " · line 20
Quoted 9 lines
meta/conf/machine/include/arm/arch-armv6.inc +9
-0+AVAILTUNES += "armv6 armv6t" +TUNE_FEATURES_tune-armv6 ?= "armv6" +TUNE_FEATURES_tune-armv6t ?= "armv6 thumb" +PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv6" +PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv6 armv6t" + +# Little Endian + VFP +AVAILTUNES += "armv6-vfp armv6t-vfp armv6hf-vfp armv6thf-vfp" +TUNE_FEATURES_tune-armv6-vfp ?= "armv6 vfp"
This patch doesn't seem to do what it says in the subject line. It doesn't add an "armv6-novfp" tune, instead it removes vfp from the existing armv6 and armv6t tunes.
p.
Re: [oe-core 3/4] conf: machine: includes: add armv6-novfp support
Quoted 3 lines
This patch doesn't seem to do what it says in the subject line. It doesn't add an "armv6-novfp" tune, instead it removes vfp from the existing armv6 and armv6t tunes.
yes that's what it does,but it also adds an armv6-vfp. The commit message is wrong, sorry.
by the way is the content ok? or should I re-do the content too(if so I would need some indications of what the right way is)?
Denis.
Re: [oe-core 3/4] conf: machine: includes: add armv6-novfp support
Quoted 8 lines · Denis 'GNUtoo' Carikli
Quoted 3 lines
This patch doesn't seem to do what it says in the subject line. It doesn't add an "armv6-novfp" tune, instead it removes vfp from the existing armv6 and armv6t tunes.
yes that's what it does,but it also adds an armv6-vfp. The commit message is wrong, sorry.
by the way is the content ok? or should I re-do the content too(if so I would need some indications of what the right way is)?
Well, if it were up to me, I would prefer to leave armv6 and armv6t alone and (as the subject line implied this patch was going to) add new tunes for the non-vfp variants of them. Otherwise everybody who is currently using armv6 is liable to get a nasty surprise when the meaning suddenly changes underneath them.
p.
Re: [PATCH] conf: machine: includes: add armv6-novfp support
This work was made by Victor Enriquez and then modified by Denis Carikli who was helped by Mark Hatle comments( who is fray on #yocto channel on Freenode ).
The changes are for adding support to armv6-novfp, forbuilding binaries for armv6 machines without vfp, for examplethe htcdream.
--- meta/conf/machine/include/arm/arch-armv6.inc | 31 +++++++++++++-------- meta/conf/machine/include/arm/feature-arm-vfp.inc | 4 ++- 2 files changed, 22 insertions(+), 13 deletions(-)
meta/conf/machine/include/arm/arch-armv6.inc +19 -12
@@ -1,33 +1,40 @@ DEFAULTTUNE ?= "armv6" -ARMPKGARCH ?= "armv6" +ARMPKGARCH := "armv6" TUNEVALID[armv6] = "Enable instructions for ARMv6" TUNE_CONFLICTS[armv6] = "armv4 armv5" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", "", d)}" -MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" ,d)}" require conf/machine/include/arm/arch-armv5-dsp.inc # Little Endian -AVAILTUNES += "armv6 armv6t armv6hf armv6thf" +AVAILTUNES += "armv6-novfp armv6 armv6t armv6t-novfp armv6hf armv6thf" +TUNE_FEATURES_tune-armv6-novfp ?= "armv6" TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" +TUNE_FEATURES_tune-armv6t-novfp ?= "armv6 thumb" TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-novfp armv6" +PACKAGE_EXTRA_ARCHS_tune-armv6t-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp armv6t-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-novfp armv6t-novfp armv6-vfp armv6t" +PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf" +PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf" # Big Endian -AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" +AVAILTUNES += "armv6b-novfp armv6b armv6tb-novfp armv6tb armv6hfb armv6thfb" +TUNE_FEATURES_tune-armv6b-novfp ?= "${TUNE_FEATURES_tune-armv6-novfp} bigendian" TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" +TUNE_FEATURES_tune-armv6tb-novfp ?= "${TUNE_FEATURES_tune-armv6t-novfp} bigendian" TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6tb} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-vfp armv6tb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b" +PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp armv6tb-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-novfp armv6tb-novfp armv6b-vfp armv6tb" +PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb" +PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb"
meta/conf/machine/include/arm/feature-arm-vfp.inc +3 -1
@@ -1,5 +1,7 @@ TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." -ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" +TUNE_ARM_VFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "", "vfp" ,d)}" +TUNE_ARM_NOVFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "-novfp", "" ,d)}" +ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "${TUNE_ARM_VFP}", "${TUNE_ARM_NOVFP}" ,d)}" TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)}"
Signature · 1 line
1.7.8
Re: [PATCH] conf: machine: includes: add armv6-novfp support
Quoted 19 lines · vquicksilver
This work was made by Victor Enriquez and then modified by Denis Carikli who was helped by Mark Hatle comments( who is fray on #yocto channel on Freenode ).
The changes are for adding support to armv6-novfp, forbuilding binaries for armv6 machines without vfp, for examplethe htcdream.
Signed-off-by Denis 'GNUtoo' Carikli<[email protected]>Signed-off-by vquicksilver<[email protected]>--- meta/conf/machine/include/arm/arch-armv6.inc | 31 +++++++++++++-------- meta/conf/machine/include/arm/feature-arm-vfp.inc | 4 ++- 2 files changed, 22 insertions(+), 13 deletions(-)meta/conf/machine/include/arm/arch-armv6.inc +0
-0
meta/conf/machine/include/arm/arch-armv6.inc line 3
Quoted 4 lines
meta/conf/machine/include/arm/arch-armv6.inc +1
-1@@ -1,33 +1,40 @@ DEFAULTTUNE ?= "armv6" -ARMPKGARCH ?= "armv6" +ARMPKGARCH := "armv6"
The ?= is what is needed here. The ARMPKGARCH needs to be able to be overwritten by other config files. (The order in which arch-armv6 and potentially other arm archs are included by a machine matters...)
meta/conf/machine/include/arm/arch-armv6.inc line 8
Quoted 4 lines
meta/conf/machine/include/arm/arch-armv6.inc +0
-1TUNEVALID[armv6] = "Enable instructions for ARMv6" TUNE_CONFLICTS[armv6] = "armv4 armv5" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", "", d)}" -MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" ,d)}"
I believe the override is still needed as well. This allows someone to do armv6 specific options -- such as: OE_CONFIG_armv6 = "--cpu-config=armv6"
... I think everything else looks good..
--Mark
Quoted 55 lines
meta/conf/machine/include/arm/arch-armv6.inc +18
-10require conf/machine/include/arm/arch-armv5-dsp.inc # Little Endian -AVAILTUNES += "armv6 armv6t armv6hf armv6thf" +AVAILTUNES += "armv6-novfp armv6 armv6t armv6t-novfp armv6hf armv6thf" +TUNE_FEATURES_tune-armv6-novfp ?= "armv6" TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" +TUNE_FEATURES_tune-armv6t-novfp ?= "armv6 thumb" TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-novfp armv6" +PACKAGE_EXTRA_ARCHS_tune-armv6t-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp armv6t-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-novfp armv6t-novfp armv6-vfp armv6t" +PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf" +PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf" # Big Endian -AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" +AVAILTUNES += "armv6b-novfp armv6b armv6tb-novfp armv6tb armv6hfb armv6thfb" +TUNE_FEATURES_tune-armv6b-novfp ?= "${TUNE_FEATURES_tune-armv6-novfp} bigendian" TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" +TUNE_FEATURES_tune-armv6tb-novfp ?= "${TUNE_FEATURES_tune-armv6t-novfp} bigendian" TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6tb} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-vfp armv6tb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b" +PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp armv6tb-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-novfp armv6tb-novfp armv6b-vfp armv6tb" +PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb" +PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb"meta/conf/machine/include/arm/feature-arm-vfp.inc +3
-1@@ -1,5 +1,7 @@ TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." -ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" +TUNE_ARM_VFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "", "vfp" ,d)}" +TUNE_ARM_NOVFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "-novfp", "" ,d)}" +ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "${TUNE_ARM_VFP}", "${TUNE_ARM_NOVFP}" ,d)}" TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)}"
Re: [PATCH] conf: machine: includes: add armv6-novfp support
In reply to vquicksilverQuoted 6 lines · vquicksilver
This work was made by Victor Enriquez and then modified by Denis Carikli who was helped by Mark Hatle comments( who is fray on #yocto channel on Freenode ).
The changes are for adding support to armv6-novfp, forbuilding binaries for armv6 machines without vfp, for examplethe htcdream.
Some typos on the commit log and missing spaces.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [PATCH] conf: machine: includes: add armv6-novfp support
and a missing real name for the SOB
Op 21 dec. 2011 om 21:06 heeft Otavio Salvador <[email protected]> het volgende geschreven:
Quoted 19 lines · vquicksilver
This work was made by Victor Enriquez and then modified by Denis Carikli who was helped by Mark Hatle comments( who is fray on #yocto channel on Freenode ).
The changes are for adding support to armv6-novfp, forbuilding binaries for armv6 machines without vfp, for examplethe htcdream.
Some typos on the commit log and missing spaces.
Signature · 8 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH v2] conf: machine: includes: add armv6-novfp support
In reply to Phil BlundellThis work was made by Victor Enriquez and then modified by Denis Carikli who was helped by Mark Hatle comments (who is fray on #yocto channel on Freenode).
The changes are for adding support to armv6-novfp, for building binaries for armv6 machines without vfp, for example the htc dream.
--- meta/conf/machine/include/arm/arch-armv6.inc | 28 +++++++++++++------- meta/conf/machine/include/arm/feature-arm-vfp.inc | 4 ++- 2 files changed, 21 insertions(+), 11 deletions(-)
meta/conf/machine/include/arm/arch-armv6.inc +18 -10
@@ -10,24 +10,32 @@ MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" require conf/machine/include/arm/arch-armv5-dsp.inc # Little Endian -AVAILTUNES += "armv6 armv6t armv6hf armv6thf" +AVAILTUNES += "armv6-novfp armv6 armv6t armv6t-novfp armv6hf armv6thf" +TUNE_FEATURES_tune-armv6-novfp ?= "armv6" TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" +TUNE_FEATURES_tune-armv6t-novfp ?= "armv6 thumb" TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-novfp armv6" +PACKAGE_EXTRA_ARCHS_tune-armv6t-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp armv6t-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-novfp armv6t-novfp armv6-vfp armv6t" +PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf" +PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf" # Big Endian -AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" +AVAILTUNES += "armv6b-novfp armv6b armv6tb-novfp armv6tb armv6hfb armv6thfb" +TUNE_FEATURES_tune-armv6b-novfp ?= "${TUNE_FEATURES_tune-armv6-novfp} bigendian" TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" +TUNE_FEATURES_tune-armv6tb-novfp ?= "${TUNE_FEATURES_tune-armv6t-novfp} bigendian" TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6tb} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-vfp armv6tb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b" +PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp armv6tb-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-novfp armv6tb-novfp armv6b-vfp armv6tb" +PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb" +PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb"
meta/conf/machine/include/arm/feature-arm-vfp.inc +3 -1
@@ -1,5 +1,7 @@ TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." -ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" +TUNE_ARM_VFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "", "vfp" ,d)}" +TUNE_ARM_NOVFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "-novfp", "" ,d)}" +ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "${TUNE_ARM_VFP}", "${TUNE_ARM_NOVFP}" ,d)}" TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)}"
Signature · 1 line
1.7.8
Re: [PATCH v2] conf: machine: includes: add armv6-novfp support
Quoted 28 lines · Víctor Enríquez
This work was made by Victor Enriquez and then modified by Denis Carikli who was helped by Mark Hatle comments (who is fray on #yocto channel on Freenode).
The changes are for adding support to armv6-novfp, for building binaries for armv6 machines without vfp, for example the htc dream.
Signed-off-by Mark Hatle<[email protected]>Signed-off-by Denis 'GNUtoo' Carikli<[email protected]>Signed-off-by Víctor Enríquez<[email protected]>--- meta/conf/machine/include/arm/arch-armv6.inc | 28 +++++++++++++------- meta/conf/machine/include/arm/feature-arm-vfp.inc | 4 ++- 2 files changed, 21 insertions(+), 11 deletions(-)meta/conf/machine/include/arm/arch-armv6.inc +3
-1@@ -10,24 +10,32 @@ MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" require conf/machine/include/arm/arch-armv5-dsp.inc # Little Endian -AVAILTUNES += "armv6 armv6t armv6hf armv6thf" +AVAILTUNES += "armv6-novfp armv6 armv6t armv6t-novfp armv6hf armv6thf" +TUNE_FEATURES_tune-armv6-novfp ?= "armv6" TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" +TUNE_FEATURES_tune-armv6t-novfp ?= "armv6 thumb" TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb"
meta/conf/machine/include/arm/arch-armv6.inc MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" · line 23
Quoted 10 lines
meta/conf/machine/include/arm/arch-armv6.inc +4
-4TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-novfp armv6" +PACKAGE_EXTRA_ARCHS_tune-armv6t-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6-novfp armv6t-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-novfp armv6t-novfp armv6-vfp armv6t"
I am not sure I fully understand the changes here, so this might be a mis-understanding on my part, but should this and the tune-armv6 have both -vfp and -novfp in it?
Quoted 8 lines
meta/conf/machine/include/arm/arch-armv6.inc +4
-1+PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf" +PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf" # Big Endian -AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" +AVAILTUNES += "armv6b-novfp armv6b armv6tb-novfp armv6tb armv6hfb armv6thfb" +TUNE_FEATURES_tune-armv6b-novfp ?= "${TUNE_FEATURES_tune-armv6-novfp} bigendian" TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian"
meta/conf/machine/include/arm/arch-armv6.inc MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" · line 36
Quoted 10 lines
meta/conf/machine/include/arm/arch-armv6.inc +3
-4+TUNE_FEATURES_tune-armv6tb-novfp ?= "${TUNE_FEATURES_tune-armv6t-novfp} bigendian" TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6tb} callconvention-hard" -PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-vfp armv6tb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" -PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b"
Why not like the armv6 above with -novfp (again, maybe my misunderstanding
meta/conf/machine/include/arm/arch-armv6.inc MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" · line 38
Quoted 2 lines
meta/conf/machine/include/arm/arch-armv6.inc +2
-0+PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b-novfp armv6tb-novfp" +PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-novfp armv6tb-novfp armv6b-vfp armv6tb"
This seems to match armv6t above.
meta/conf/machine/include/arm/feature-arm-vfp.inc line 2
Quoted 11 lines
meta/conf/machine/include/arm/arch-armv6.inc +2
-0+PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb" +PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb"meta/conf/machine/include/arm/feature-arm-vfp.inc +1
-1@@ -1,5 +1,7 @@ TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." -ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" +TUNE_ARM_VFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "", "vfp" ,d)}"
should this be -vfp?
Quoted 5 lines
meta/conf/machine/include/arm/feature-arm-vfp.inc +2
-0+TUNE_ARM_NOVFP = "${@bb.utils.contains("ARMPKGARCH", "armv6", "-novfp", "" ,d)}" +ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "${TUNE_ARM_VFP}", "${TUNE_ARM_NOVFP}" ,d)}" TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)}"
PATCH 4/4 xserver-xorg: drop xorg-minimal-fonts from RDEPENDS
In reply to Martin Jansa* as discussed here http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010899.html
--- .../xorg-xserver/xserver-xorg-1.11.1.inc | 2 ++ .../xorg-xserver/xserver-xorg-common.inc | 1 - 2 files changed, 2 insertions(+), 1 deletions(-)
meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc +2 -0
@@ -3,5 +3,7 @@ SRC_URI += "file://crosscompile.patch" # Misc build failure for master HEAD SRC_URI += "file://fix_open_max_preprocessor_error.patch" +PR = "r1" + SRC_URI[md5sum] = "4cdf54dc569b6a5548257c93a45dcd3d" SRC_URI[sha256sum] = "c069c177d9a80bca2ee1d49aa1af6d9f996c83e4ff12393cab2ca3f8817276f6"
meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc +0 -1
@@ -60,7 +60,6 @@ PACKAGES =+ "${PN}-security-policy \ ${PN}-module-libxf1bpp \ ${PN}-module-libxf4bpp" -RDEPENDS_${PN} += "xorg-minimal-fonts" RRECOMMENDS_${PN} += "${PN}-security-policy xkeyboard-config rgb xserver-xf86-config" RDEPENDS_${PN}-xvfb += "xkeyboard-config"
Signature · 1 line
1.7.7
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
In reply to Martin JansaHi,
Quoted 7 lines · Martin Jansa
From: Simon Busch<[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most devices today is done with linux input interface. If some specific machine has a need for tslib support it should add the dependency in it's machine layer again and modify the profile script accordingly.
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
Eric
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Op 12 okt. 2011, om 10:02 heeft Eric Bénard het volgende geschreven:
Quoted 11 lines
Hi,
Quoted 7 lines · Martin Jansa
From: Simon Busch<[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most devices today is done with linux input interface. If some specific machine has a need for tslib support it should add the dependency in it's machine layer again and modify the profile script accordingly.
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
We ran into this at work and like Eric, I'm curious how calibration (and e.g. dejitter) works in the linux-input world combined with qt/e.
regards,
Koen
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Quoted 7 lines · Koen Kooi
Op 12 okt. 2011, om 10:02 heeft Eric Bénard het volgende geschreven:
Quoted 5 lines
Hi,
Quoted 2 lines · Martin Jansa
From: Simon Busch<[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
In most cases we don't need tslib in std. configuration as touchscreen access in most devices today is done with linux input interface. If some specific machine has a need for tslib support it should add the dependency in it's machine layer again and modify the profile script accordingly.
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
We ran into this at work and like Eric, I'm curious how calibration (and e.g. dejitter) works in the linux-input world combined with qt/e.
Not directly applicable, but I keep meaning to take a look at
http://atrey.karlin.mff.cuni.cz/~metan/evfilter/ - it seems quite interesting.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
In reply to Eric BénardQuoted 13 lines · Eric Bénard
Hi,
Quoted 10 lines · Martin Jansa
From: Simon Busch<[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most
devices today is done with linux input interface. If some specific machine has a need for
tslib support it should add the dependency in it's machine layer again and modify the
profile script accordingly.
Quoted 3 lines
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
Thats up to the environment you are using qt4-embedded in. In my case the setup is a little bit more complicated. We're using tslib but not directly in qt4-embedded (we can get rid of tslib completely but time is missing).
I removed the dependency from qt4-embedded as qt4-embedded in oe-core should be the general thing used in all environments and therefore should be only a minimal setup with minimal dependencies.
If someone needs tslib for qt4-embedded for his machine layer he should include tslib support in the machine layer itself.
regards,
Simon
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Op 12 okt. 2011 om 20:10 heeft Simon Busch <[email protected]> het volgende geschreven:
Quoted 18 lines · Eric Bénard
Quoted 13 lines
Hi,
Quoted 10 lines · Martin Jansa
From: Simon Busch<[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most
devices today is done with linux input interface. If some specific machine has a need for
tslib support it should add the dependency in it's machine layer again and modify the
profile script accordingly.Quoted 3 lines
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
Quoted 8 lines
Thats up to the environment you are using qt4-embedded in. In my case the setup is a little bit more complicated. We're using tslib but not directly in qt4-embedded (we can get rid of tslib completely but time is missing).
I removed the dependency from qt4-embedded as qt4-embedded in oe-core should be the general thing used in all environments and therefore should be only a minimal setup with minimal dependencies.
No, it should work in most cases, breaking qt:e like is not acceptable.
Quoted 14 lines
If someone needs tslib for qt4-embedded for his machine layer he should include tslib support in the machine layer itself.
regards,
SimonSignature · 6 lines
Simon Busch - http://mm.gravedo.de/blog/ _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Quoted 27 lines · Koen Kooi
Op 12 okt. 2011 om 20:10 heeft Simon Busch <[email protected]> het volgende geschreven:
Quoted 23 lines · Eric Bénard
Quoted 13 lines
Hi,
Quoted 10 lines · Martin Jansa
From: Simon Busch<[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most
devices today is done with linux input interface. If some specific machine has a need for
tslib support it should add the dependency in it's machine layer again and modify the
profile script accordingly.Quoted 3 lines
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
Thats up to the environment you are using qt4-embedded in. In my case the setup is a little bit more complicated. We're using tslib but not directly in qt4-embedded (we can get rid of tslib completely but time is missing).
Quoted 5 lines
Quoted 3 lines
I removed the dependency from qt4-embedded as qt4-embedded in oe-core should be the general thing used in all environments and therefore should be only a minimal setup with minimal dependencies.
No, it should work in most cases, breaking qt:e like is not acceptable.
What is breaking qt:e in this case? For me it's just a feature reduction and not a break (as qt:e still works fine with the linux input interface).
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Op 12 okt. 2011, om 20:34 heeft Simon Busch het volgende geschreven:
Quoted 28 lines · Koen Kooi
Quoted 27 lines
Op 12 okt. 2011 om 20:10 heeft Simon Busch <[email protected]> het volgende geschreven:
Quoted 23 lines · Eric Bénard
Quoted 13 lines
Hi,
Quoted 10 lines · Martin Jansa
From: Simon Busch<[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most
devices today is done with linux input interface. If some specific machine has a need for
tslib support it should add the dependency in it's machine layer again and modify the
profile script accordingly.Quoted 3 lines
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
Thats up to the environment you are using qt4-embedded in. In my case the setup is a little bit more complicated. We're using tslib but not directly in qt4-embedded (we can get rid of tslib completely but time is missing).
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
I removed the dependency from qt4-embedded as qt4-embedded in oe-core should be the general thing used in all environments and therefore should be only a minimal setup with minimal dependencies.
No, it should work in most cases, breaking qt:e like is not acceptable.
What is breaking qt:e in this case? For me it's just a feature reduction and not a break (as qt:e still works fine with the linux input interface).
When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Quoted 4 lines · Koen Kooi
Quoted 2 lines
What is breaking qt:e in this case? For me it's just a feature reduction and not a break (as qt:e still works fine with the linux input interface).
When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
You're talking here about one case where tslib is needed to get a working touchscreen. But there are even cases where tslib is not needed to get a working touchscreen.
qt:e does not strongly depends on tslib, it can work without. So if you need it you should add it to your machine layer as it is really machine specific if you need tslib or not.
regards,
Simon
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Quoted 6 lines · Simon Busch
Quoted 4 lines · Koen Kooi
Quoted 2 lines
What is breaking qt:e in this case? For me it's just a feature reduction and not a break (as qt:e still works fine with the linux input interface).
When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
Quoted 7 lines
You're talking here about one case where tslib is needed to get a working touchscreen. But there are even cases where tslib is not needed to get a working touchscreen.
qt:e does not strongly depends on tslib, it can work without. So if you need it you should add it to your machine layer as it is really machine specific if you need tslib or not.
Eric brings it to the point, only resetting the qte.sh script to a default one which uses a linux input even node should be enough.
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Quoted 11 lines · Simon Busch
Quoted 10 lines · Simon Busch
Quoted 4 lines · Koen Kooi
Quoted 2 lines
What is breaking qt:e in this case? For me it's just a feature reduction and not a break (as qt:e still works fine with the linux input interface).
When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
You're talking here about one case where tslib is needed to get a working touchscreen. But there are even cases where tslib is not needed to get a working touchscreen.
Quoted 6 lines
Quoted 3 lines
qt:e does not strongly depends on tslib, it can work without. So if you need it you should add it to your machine layer as it is really machine specific if you need tslib or not.
Eric brings it to the point, only resetting the
qte.shscript to a default one which uses a linux input even node should be enough.
Sorry for my little generic trip ... :)
I will provide another patch in the following days which just makes qte.sh use of a std. linux input dev node instead of a tslib one if nobody has any objections against this.
regards,
Simon
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
Hi,
Quoted 4 lines · Simon Busch
I will provide another patch in the following days which just makes
qte.shuse of a std. linux input dev node instead of a tslib one if nobody has any objections against this.
maybe moving qt4-embedded-conf in its own recipe would be better : that would allow qte.sh customization without having to rebuild qt4-embedded. Then you could have qte.sh with linux input in your machine's overlay and could keep the default qte.sh as it actually is in oe-core.
Also, does defaulting to linux input dev works in qemu machines (for example with qt4e-demo-image ?
Eric
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
In reply to Simon BuschQuoted 9 lines · Simon Busch
Quoted 4 lines · Koen Kooi
Quoted 2 lines
What is breaking qt:e in this case? For me it's just a feature reduction and not a break (as qt:e still works fine with the linux input interface).
When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
You're talking here about one case where tslib is needed to get a working touchscreen. But there are even cases where tslib is not needed to get a working touchscreen.
The base should be the bare min necessary to function in the common case, in my opinion. Touchscreens that don't require calibration are few and far between, so making the majority of machines with touchscreens have to override it seems far from ideal.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
In reply to Simon BuschHi,
Quoted 21 lines · Simon Busch
Quoted 11 lines · Eric Bénard
Quoted 10 lines · Martin Jansa
From: Simon Busch<[email protected]>
In most cases we don't need tslib in std. configuration as touchscreen access in most
devices today is done with linux input interface. If some specific machine has a need for
tslib support it should add the dependency in it's machine layer again and modify the
profile script accordingly.Quoted 3 lines
When using a resistive touchscreen, tslib is a common solution to handle calibration and raw value processing : do you think this is a good thing to remove this ?
Thats up to the environment you are using qt4-embedded in. In my case the setup is a little bit more complicated. We're using tslib but not directly in qt4-embedded (we can get rid of tslib completely but time is missing).
Quoted 7 lines
I removed the dependency from qt4-embedded as qt4-embedded in oe-core should be the general thing used in all environments and therefore should be only a minimal setup with minimal dependencies.
If someone needs tslib for qt4-embedded for his machine layer he should include tslib support in the machine layer itself.
removing tslib plugin in qt4e seems not the good solution as this plugin can
be built but not installed by default.
In my opinion that's only the qte.sh script which could be more generic and maybe could be in its own configuration package so that several machines can share the same qt4e packages (picking the plugins they need) and have their own qte-config (for example) package.
Else, why don't you akso remove plugin-gfx-transformed which is not used be many machines, or plugin-gfx-vnc or plugin-gfx-directfb which is only used on machine needing directfb or plugin-gfx-qvfb as real machine don't need a virtual framebuffer or even qt-mouse-pc as you may think that pc with mouses don't need qtembedded ... in the end we may also notice that basic platforms can use qt without a display, so why not removing graphic support at all to make the think even more generic and reduce the number of dependencies ;-)
Eric