2012-05-24 17:58:53 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for ST Ericsson's Snowball
|
|
|
|
# http://qt-project.org/wiki/Snowball
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf \
|
|
|
|
-Wl,-rpath-link,$$[QT_SYSROOT]/lib/arm-linux-gnueabihf
|
2012-05-24 17:58:53 +00:00
|
|
|
|
|
|
|
deviceSanityCheckCompiler()
|
|
|
|
|
|
|
|
load(qt_config)
|