2012-05-24 17:58:53 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for ST Ericsson's Snowball
|
2015-03-03 10:27:28 +00:00
|
|
|
# http://wiki.qt.io/Snowball
|
2012-05-24 17:58:53 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
MAKEFILE_GENERATOR = UNIX
|
2014-01-14 13:23:49 +00:00
|
|
|
CONFIG += incremental
|
2012-05-24 17:58:53 +00:00
|
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
|
|
|
|
include(../../common/linux.conf)
|
|
|
|
include(../../common/gcc-base-unix.conf)
|
|
|
|
include(../../common/g++-unix.conf)
|
|
|
|
|
|
|
|
load(device_config)
|
|
|
|
|
2016-11-23 19:11:17 +00:00
|
|
|
defineTest(qtConfSanitizeMkspec) {
|
|
|
|
deviceSanityCheckCompiler()
|
|
|
|
}
|
|
|
|
|
2012-05-24 17:58:53 +00:00
|
|
|
QMAKE_CC = $${CROSS_COMPILE}gcc
|
|
|
|
QMAKE_CXX = $${CROSS_COMPILE}g++
|
|
|
|
QMAKE_LINK = $${QMAKE_CXX}
|
|
|
|
QMAKE_LINK_SHLIB = $${QMAKE_CXX}
|
|
|
|
|
|
|
|
# modifications to linux.conf
|
|
|
|
QMAKE_AR = $${CROSS_COMPILE}ar cqs
|
|
|
|
QMAKE_OBJCOPY = $${CROSS_COMPILE}objcopy
|
2013-04-22 21:22:09 +00:00
|
|
|
QMAKE_NM = $${CROSS_COMPILE}nm -P
|
2012-05-24 17:58:53 +00:00
|
|
|
QMAKE_STRIP = $${CROSS_COMPILE}strip
|
|
|
|
|
2017-05-16 16:06:24 +00:00
|
|
|
QMAKE_RPATHLINKDIR_POST += \
|
|
|
|
$$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf \
|
|
|
|
$$[QT_SYSROOT]/lib/arm-linux-gnueabihf
|
2012-05-24 17:58:53 +00:00
|
|
|
|
|
|
|
load(qt_config)
|