2012-03-16 23:51:09 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for linux-g++
|
|
|
|
#
|
|
|
|
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
|
|
TARGET_PLATFORM = unix
|
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
|
|
|
|
QT += core gui
|
|
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
|
|
|
|
include(../../common/linux.conf)
|
|
|
|
include(../../common/gcc-base-unix.conf)
|
|
|
|
include(../../common/g++-unix.conf)
|
|
|
|
|
|
|
|
load(device_config)
|
|
|
|
|
|
|
|
isEmpty(CROSS_COMPILE): error("CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<path>")
|
|
|
|
|
|
|
|
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
|
|
|
|
QMAKE_STRIP = $${CROSS_COMPILE}strip
|
|
|
|
|
|
|
|
QMAKE_CFLAGS_RELEASE += -O2 -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
|
|
|
|
|
|
|
|
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-03-16 23:51:09 +00:00
|
|
|
load(qt_config)
|