From: Jonathan Liu <net147@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support
Date: Tue, 17 Nov 2015 23:06:22 +1100 [thread overview]
Message-ID: <564B183E.3000204@gmail.com> (raw)
In-Reply-To: <CAMKF1sqq0xS6qHSCHVZsn6wmTQEGUuegT31tVN6ppfNem+kXGA@mail.gmail.com>
On 16/11/2015 4:31 AM, Khem Raj wrote:
> On Sun, Nov 15, 2015 at 4:31 AM, Jonathan Liu <net147@gmail.com> wrote:
>> [Support #16]
>>
>> Signed-off-by: Jonathan Liu <net147@gmail.com>
>> ---
>> conf/machine/include/rpi-base.inc | 3 +++
>> recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++
>> 2 files changed, 11 insertions(+)
>> create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
>>
>> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
>> index e097702..b390705 100644
>> --- a/conf/machine/include/rpi-base.inc
>> +++ b/conf/machine/include/rpi-base.inc
>> @@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
>> SPLASH = "psplash-raspberrypi"
>>
>> IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
>> +
>> +# Qt packages are machine specific due to RPi integration
>> +QT_PACKAGES_ARCH = "${MACHINE_ARCH}"
>> diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
>> new file mode 100644
>> index 0000000..7775e70
>> --- /dev/null
>> +++ b/recipes-qt/qt5/qtbase_%.bbappend
>> @@ -0,0 +1,8 @@
>> +do_configure_prepend_rpi() {
>> + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
>> +EGLFS_DEVICE_INTEGRATION = eglfs_brcm
> should this should be controlled based on a knob for userspace binary
> driver or open source kernel driver is used.
I am not sure whether the open source kernel driver is complete enough.
Have you tested it? Do you have any patch to get it running with Qt?
>
>> +QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux
>> +QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
>> +QMAKE_LIBS_EGL = -lEGL -lGLESv2
>> +EOF
>> +}
>> --
>> 2.6.2
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
next prev parent reply other threads:[~2015-11-17 12:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-15 12:31 [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support Jonathan Liu
2015-11-15 17:31 ` Khem Raj
2015-11-17 12:06 ` Jonathan Liu [this message]
2015-11-17 15:34 ` Khem Raj
2015-12-02 22:05 ` Andrei Gherzan
2015-12-02 22:08 ` Andrei Gherzan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=564B183E.3000204@gmail.com \
--to=net147@gmail.com \
--cc=raj.khem@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.