diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 22:44:42 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-05 12:56:34 +0200 |
commit | 66c091481cb3a8afdeb8422a1a997c5339392ae0 (patch) | |
tree | cfad5a33901d8f487305ced29dc74c5d6acfeaed /recipes-qt | |
parent | 18d2e711d87ffd8c6c341757d5810cef1d05dc39 (diff) | |
download | meta-qt5-66c091481cb3a8afdeb8422a1a997c5339392ae0.tar.gz |
qmake5_base: define variables for paths used by qmake in one place
* makes it easier to change them, should be reused also in FILES_*
variables
* table of path variables and their different names available at
https://github.com/meta-qt5/meta-qt5/wiki/Building-with-OE
* all variables have OE_QMAKE_PATH_ prefix and then name from qmake
varaible
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r-- | recipes-qt/qt5/qtbase-native.inc | 15 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase.inc | 36 |
2 files changed, 26 insertions, 25 deletions
diff --git a/recipes-qt/qt5/qtbase-native.inc b/recipes-qt/qt5/qtbase-native.inc index 8755e810..f34e71cf 100644 --- a/recipes-qt/qt5/qtbase-native.inc +++ b/recipes-qt/qt5/qtbase-native.inc | |||
@@ -53,13 +53,14 @@ EXTRA_OECONF = " \ | |||
53 | -no-xcb \ | 53 | -no-xcb \ |
54 | -verbose \ | 54 | -verbose \ |
55 | -release \ | 55 | -release \ |
56 | -prefix ${prefix} \ | 56 | -prefix ${OE_QMAKE_PATH_PREFIX} \ |
57 | -bindir ${bindir}/${QT_DIR_NAME} \ | 57 | -bindir ${OE_QMAKE_PATH_BINS} \ |
58 | -libdir ${libdir} \ | 58 | -libdir ${OE_QMAKE_PATH_LIBS} \ |
59 | -headerdir ${includedir}/${QT_DIR_NAME} \ | 59 | -headerdir ${OE_QMAKE_PATH_HEADERS} \ |
60 | -archdatadir ${libdir}/${QT_DIR_NAME} \ | 60 | -archdatadir ${OE_QMAKE_PATH_ARCHDATA} \ |
61 | -datadir ${datadir}/${QT_DIR_NAME} \ | 61 | -datadir ${OE_QMAKE_PATH_DATA} \ |
62 | -docdir ${docdir}/${QT_DIR_NAME} \ | 62 | -docdir ${OE_QMAKE_PATH_DOCS} \ |
63 | -sysconfdir ${OE_QMAKE_PATH_SETTINGS} \ | ||
63 | -no-glib \ | 64 | -no-glib \ |
64 | -no-iconv \ | 65 | -no-iconv \ |
65 | -silent \ | 66 | -silent \ |
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc index 531c88fe..500482ce 100644 --- a/recipes-qt/qt5/qtbase.inc +++ b/recipes-qt/qt5/qtbase.inc | |||
@@ -78,24 +78,24 @@ do_configure() { | |||
78 | -opensource -confirm-license \ | 78 | -opensource -confirm-license \ |
79 | -sysroot ${STAGING_DIR_TARGET} \ | 79 | -sysroot ${STAGING_DIR_TARGET} \ |
80 | -no-gcc-sysroot \ | 80 | -no-gcc-sysroot \ |
81 | -prefix ${prefix} \ | 81 | -prefix ${OE_QMAKE_PATH_PREFIX} \ |
82 | -bindir ${bindir}/${QT_DIR_NAME} \ | 82 | -bindir ${OE_QMAKE_PATH_BINS} \ |
83 | -libdir ${libdir} \ | 83 | -libdir ${OE_QMAKE_PATH_LIBS} \ |
84 | -datadir ${datadir}/${QT_DIR_NAME} \ | 84 | -datadir ${OE_QMAKE_PATH_DATA} \ |
85 | -sysconfdir ${sysconfdir}/${QT_DIR_NAME} \ | 85 | -sysconfdir ${OE_QMAKE_PATH_SETTINGS} \ |
86 | -docdir ${docdir}/${QT_DIR_NAME} \ | 86 | -docdir ${OE_QMAKE_PATH_DOCS} \ |
87 | -headerdir ${includedir}/${QT_DIR_NAME} \ | 87 | -headerdir ${OE_QMAKE_PATH_HEADERS} \ |
88 | -archdatadir ${libdir}/${QT_DIR_NAME} \ | 88 | -archdatadir ${OE_QMAKE_PATH_ARCHDATA} \ |
89 | -libexecdir ${libdir}/${QT_DIR_NAME}/libexec \ | 89 | -libexecdir ${OE_QMAKE_PATH_LIBEXECS} \ |
90 | -plugindir ${libdir}/${QT_DIR_NAME}/plugins \ | 90 | -plugindir ${OE_QMAKE_PATH_PLUGINS} \ |
91 | -importdir ${libdir}/${QT_DIR_NAME}/imports \ | 91 | -importdir ${OE_QMAKE_PATH_IMPORTS} \ |
92 | -qmldir ${libdir}/${QT_DIR_NAME}/qml \ | 92 | -qmldir ${OE_QMAKE_PATH_QML} \ |
93 | -translationdir ${datadir}/${QT_DIR_NAME}/translations \ | 93 | -translationdir ${OE_QMAKE_PATH_TRANSLATIONS} \ |
94 | -testsdir ${datadir}/${QT_DIR_NAME}/tests \ | 94 | -testsdir ${OE_QMAKE_PATH_TESTS} \ |
95 | -examplesdir ${datadir}/${QT_DIR_NAME}/examples \ | 95 | -examplesdir ${OE_QMAKE_PATH_EXAMPLES} \ |
96 | -hostbindir ${bindir}/${QT_DIR_NAME} \ | 96 | -hostbindir ${OE_QMAKE_PATH_HOST_BINS} \ |
97 | -hostdatadir ${libdir}/${QT_DIR_NAME} \ | 97 | -hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \ |
98 | -external-hostbindir ${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME} \ | 98 | -external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \ |
99 | -platform ${OE_QMAKESPEC} \ | 99 | -platform ${OE_QMAKESPEC} \ |
100 | -xplatform linux-oe-g++ \ | 100 | -xplatform linux-oe-g++ \ |
101 | ${QT_CONFIG_FLAGS} | 101 | ${QT_CONFIG_FLAGS} |