| 1 |
# |
| 2 |
# qmake configuration for the Freescale iMX53 board |
| 3 |
# |
| 4 |
# This mkspec is based and tested on the Yocto Project's Poky Distribution |
| 5 |
# with libEGL.so from Freescale without the X11 dependency. |
| 6 |
# |
| 7 |
# This mkspec is tested with a framebuffer (eglfs) configuration |
| 8 |
# |
| 9 |
# A typical configure line looks like: |
| 10 |
# |
| 11 |
# export PATH=/opt/imx53qsb/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi:$PATH |
| 12 |
# |
| 13 |
# ./configure -prefix /usr/local/qt5-imx53 -hostprefix /opt/imx53qsb/x86_64-linux/usr/local/qt5-imx53 -release -device linux-imx53qsb-g++ |
| 14 |
# -opensource -confirm-license -device-option CROSS_COMPILE=arm-poky-linux-gnueabi- -sysroot /opt/imx53qsb/sysroot |
| 15 |
# -eglfs -no-pch -opengl es2 -no-xcb -silent |
| 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 |
IMX5_CFLAGS = -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wno-psabi |
| 24 |
QMAKE_CFLAGS += $$IMX5_CFLAGS |
| 25 |
QMAKE_CXXFLAGS += $$IMX5_CFLAGS |
| 26 |
|
| 27 |
include(../common/linux_arm_device_post.conf) |
| 28 |
|
| 29 |
load(qt_config) |