diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-10-30 15:54:13 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-11-02 10:02:04 +0000 |
commit | 0620623f153cdbccf46840c79eade69a1848b296 (patch) | |
tree | 2475cd90feb684cbe2da1f2c5b57584113abc2b5 /classes | |
parent | 41133640433de1d25a052b2e685e2c81983cd29d (diff) | |
download | meta-boot2qt-0620623f153cdbccf46840c79eade69a1848b296.tar.gz |
qtquickcompiler: add dev packages to toolchain
Change-Id: If6fa08858c0ab19e92c45623f7dcdcf3d8985c1a
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/qtquickcompiler.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/qtquickcompiler.bbclass b/classes/qtquickcompiler.bbclass index 1478741..acb1bd6 100644 --- a/classes/qtquickcompiler.bbclass +++ b/classes/qtquickcompiler.bbclass | |||
@@ -26,8 +26,10 @@ python __anonymous() { | |||
26 | bb.note("TODO: QtQuickCompiler not yet available for external builds") | 26 | bb.note("TODO: QtQuickCompiler not yet available for external builds") |
27 | else: | 27 | else: |
28 | pn = d.getVar("PN", True) | 28 | pn = d.getVar("PN", True) |
29 | if pn.startswith("nativesdk-"): | 29 | if "toolchain-host" in pn: |
30 | d.appendVar('RDEPENDS_' + pn, " nativesdk-qtquickcompiler-tools") | 30 | d.appendVar('RDEPENDS_' + pn, " nativesdk-qtquickcompiler-tools") |
31 | if "toolchain-target" in pn: | ||
32 | d.appendVar('RDEPENDS_' + pn, " qtquickcompiler-dev") | ||
31 | else: | 33 | else: |
32 | d.appendVar('DEPENDS', " qtquickcompiler qtquickcompiler-native") | 34 | d.appendVar('DEPENDS', " qtquickcompiler qtquickcompiler-native") |
33 | d.appendVar('EXTRA_QMAKEVARS_PRE', " CONFIG+=qtquickcompiler CONFIG+=no_qtquickcompiler_depend") | 35 | d.appendVar('EXTRA_QMAKEVARS_PRE', " CONFIG+=qtquickcompiler CONFIG+=no_qtquickcompiler_depend") |