diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-02-12 17:22:25 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-02-12 19:31:06 +0000 |
commit | 30153e1c52799f7537064172565222fb36415d84 (patch) | |
tree | 2df3393f3aa0027461505d6c79c852af094482b1 /mkspecs | |
parent | b6174340ebd4e07a75ab2f41f94d7e2fbb94a384 (diff) |
Fix up the imx6 mkspecs
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>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/devices/linux-imx6-g++/qmake.conf | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/mkspecs/devices/linux-imx6-g++/qmake.conf b/mkspecs/devices/linux-imx6-g++/qmake.conf index 4f464ffa83..c8b6741e9a 100644 --- a/mkspecs/devices/linux-imx6-g++/qmake.conf +++ b/mkspecs/devices/linux-imx6-g++/qmake.conf @@ -1,18 +1,6 @@ # # qmake configuration for the Freescale iMX6 boards (single, dual and quad) # -# This mkspec is based and tested on the ltib-source-release 3.0.15 -# Building ltib including glib, gpu-drivers and what ever you want to use (e.g. dbus or fontconfig) -# This mkspec is tested with a framebuffer (eglfs) configuration (not testes with X11) -# A typical configure line looks like: -# /home/tsenyk/qt5/qt5/configure -opensource -confirm-license -make libs -device imx6 \ -# -device-option CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi- \ -# -sysroot <path-to-your-ltib-install>/rootfs -no-gcc-sysroot \ -# -prefix /usr/local/Qt-5.0.0/Qt5-imx6-1 -# -# NOTE: currently ltib doesn't produce a proper staging/sysroot-filessystem. -# If gcc's --sysroot is used, the toolchain doesn't find basic binaries (e.g. crt1.o), -# therefore you have to pass -no-gcc-sysroot to configure if you pass -sysroot to configure! include(../common/linux_device_pre.conf) @@ -31,6 +19,8 @@ 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) |