diff options
| author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-08-25 14:43:45 +0300 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-26 17:21:13 +0200 |
| commit | 22c28fee3cbd394ae1b261854637696b1f5deeb5 (patch) | |
| tree | 6dff0059317ea4715e57d935fb30d10ea967d208 /classes/qmake5_base.bbclass | |
| parent | f969c48953359c75199634867ab8e1d775b7e747 (diff) | |
| download | meta-qt5-22c28fee3cbd394ae1b261854637696b1f5deeb5.tar.gz | |
qt5: improve support for native and nativesdk modules
Change qmake.bbclass to support building native and nativesdk packages,
so that qmake or qt5-module can be inherited and BBCLASSEXTEND used to
create native and nativesdk packages.
qtxmlpatterns and qtdeclarative native and nativesdk modules are required
for Qt Quick Compiler.
Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes/qmake5_base.bbclass')
| -rw-r--r-- | classes/qmake5_base.bbclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass index 44575c4c..ffb3103d 100644 --- a/classes/qmake5_base.bbclass +++ b/classes/qmake5_base.bbclass | |||
| @@ -166,6 +166,17 @@ qmake5_base_do_configure () { | |||
| 166 | ${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling $CMD" | 166 | ${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling $CMD" |
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | qmake5_base_native_do_install() { | ||
| 170 | oe_runmake install INSTALL_ROOT=${D} | ||
| 171 | } | ||
| 172 | |||
| 173 | qmake5_base_nativesdk_do_install() { | ||
| 174 | # Fix install paths for all | ||
| 175 | find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" | ||
| 176 | |||
| 177 | oe_runmake install INSTALL_ROOT=${D} | ||
| 178 | } | ||
| 179 | |||
| 169 | qmake5_base_do_install() { | 180 | qmake5_base_do_install() { |
| 170 | # Fix install paths for all | 181 | # Fix install paths for all |
| 171 | find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g" | 182 | find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g" |
