30153e1c52
The comments at the top are simply out of date. With modern toolchains -no-gcc-sysroot causes only trouble. Similarly, enable hardfloat by default. Change-Id: I80a1319ae26a6e0a8af71e07fbc43478a2b905ef Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
27 lines
726 B
Plaintext
27 lines
726 B
Plaintext
#
|
|
# qmake configuration for the Freescale iMX6 boards (single, dual and quad)
|
|
#
|
|
|
|
include(../common/linux_device_pre.conf)
|
|
|
|
EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_imx6.cpp
|
|
|
|
QMAKE_INCDIR += $$[QT_SYSROOT]/usr/include
|
|
QMAKE_LIBDIR += $$[QT_SYSROOT]/usr/lib
|
|
|
|
QMAKE_LIBS_EGL += -lEGL
|
|
QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL
|
|
QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL
|
|
|
|
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib
|
|
|
|
IMX6_CFLAGS = -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
|
|
QMAKE_CFLAGS += $$IMX6_CFLAGS
|
|
QMAKE_CXXFLAGS += $$IMX6_CFLAGS
|
|
|
|
DISTRO_OPTS += hard-float
|
|
|
|
include(../common/linux_arm_device_post.conf)
|
|
|
|
load(qt_config)
|