mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-18 08:15:56 +01:00
This gives us both qt4-x11 and qt4-embedded; qt4-x11 was already present in yocto, but was lacking features Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
18 lines
664 B
Plaintext
18 lines
664 B
Plaintext
DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}"
|
|
inherit qmake2
|
|
|
|
QT_DIR_NAME = "qtopia"
|
|
QT_LIBINFIX = "E"
|
|
# override variables set by qmake-base to compile Qt/Embedded apps
|
|
#
|
|
export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++"
|
|
export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}"
|
|
export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
|
|
export OE_QMAKE_LIBS_QT = "qt"
|
|
export OE_QMAKE_LIBS_X11 = ""
|
|
export OE_QMAKE_EXTRA_MODULES = "network"
|
|
EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} "
|
|
|
|
# Qt4 uses atomic instructions not supported in thumb mode
|
|
ARM_INSTRUCTION_SET = "arm"
|