| 1 |
# |
| 2 |
# qmake configuration for the Renesas R-Car H2 (Lager) |
| 3 |
# |
| 4 |
# Both eglfs and wayland should be functional, via DRM/KMS. |
| 5 |
# |
| 6 |
# Below is an example configure line that assumes the SDK is in |
| 7 |
# $HOME/rcar/toolchain. 'make install' will copy the host tools to qt5-host and |
| 8 |
# the target contents to qt5. The latter is what should be deployed to |
| 9 |
# /usr/local/qt5 on the target device. |
| 10 |
# |
| 11 |
# ./configure -prefix /usr/local/qt5 -extprefix $HOME/rcar/qt5 -hostprefix $HOME/rcar/qt5-host \ |
| 12 |
# -device rcar-h2 \ |
| 13 |
# -device-option CROSS_COMPILE=$HOME/rcar/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- \ |
| 14 |
# -sysroot $HOME/rcar/toolchain/sysroots/cortexa15hf-neon-poky-linux-gnueabi \ |
| 15 |
# -nomake examples -nomake tests -v |
| 16 |
|
| 17 |
include(../common/linux_device_pre.conf) |
| 18 |
|
| 19 |
QMAKE_LIBS_EGL += -lEGL |
| 20 |
QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL |
| 21 |
QMAKE_LIBS_OPENVG += -lOpenVG -lEGL |
| 22 |
|
| 23 |
DISTRO_OPTS += hard-float |
| 24 |
COMPILER_FLAGS += -mtune=cortex-a15 -march=armv7-a -mfpu=neon-vfpv4 |
| 25 |
|
| 26 |
# Preferred eglfs backend |
| 27 |
EGLFS_DEVICE_INTEGRATION = eglfs_kms |
| 28 |
|
| 29 |
include(../common/linux_arm_device_post.conf) |
| 30 |
|
| 31 |
load(qt_config) |