qt5base: use -device-option to set mkspec variables
authorFatih Aşıcı <fatih.asici@gmail.com>
Wed, 20 Nov 2013 12:17:41 +0000 (14:17 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Nov 2013 22:05:29 +0000 (23:05 +0100)
commit86db2a76e2f07d003464d5e0383d3ea437dc47d9
tree29b5faf8d7ae4f97ad86e37e26148142e1857df9
parent571fd2ce74668b4feda2f669a4a406a86f210f1c
qt5base: use -device-option to set mkspec variables

Simplify our custom qmake.conf:
  - Include linux_device_{pre,post}.conf to inherit common device
    configuration.
  - Do not add $(STAGING_DIR)/usr/include to include path. It is
    redundant.

In additon to the simplification of code, this change is a preparation
to solve problems occurring when QMAKE_CXX is prepended with ccache path.

Upstream patch is needed by configure to parse device options correctly.
Another upstream patch is needed to remove ARM specific parts from
linux_device_post.conf.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt5/qt5base/qt5base-0002-mkspecs-files.patch
package/qt5/qt5base/qt5base-0008-configure-Parse-device-option-value-correctly.patch [new file with mode: 0644]
package/qt5/qt5base/qt5base-0009-Fixed-mkspecs-devices-linux_device_post.conf-for-non.patch [new file with mode: 0644]
package/qt5/qt5base/qt5base.mk