2012-03-16 23:51:09 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for linux-g++
|
|
|
|
#
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
|
|
CONFIG += incremental gdb_dwarf_index
|
2012-03-16 23:51:09 +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}
|
|
|
|
|
|
|
|
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-03-16 23:51:09 +00:00
|
|
|
QMAKE_STRIP = $${CROSS_COMPILE}strip
|
|
|
|
|
2012-05-16 23:13:34 +00:00
|
|
|
QMAKE_CFLAGS += -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9
|
2012-05-16 22:59:00 +00:00
|
|
|
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
|
2012-03-16 23:51:09 +00:00
|
|
|
|
|
|
|
deviceSanityCheckCompiler()
|
|
|
|
|
2012-04-11 05:06:48 +00:00
|
|
|
EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_8726m.cpp
|
2012-03-16 23:52:39 +00:00
|
|
|
|
2012-04-19 23:40:02 +00:00
|
|
|
QT_QPA_DEFAULT_PLATFORM = eglfs
|
|
|
|
|
2012-03-16 23:51:09 +00:00
|
|
|
load(qt_config)
|