mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
qtshadertools: add runtime dependency to spirv-tools
Add runtime dependency to spirv-tools as the qsb utility can use
spirv-opt at runtime. Cannot include it for mingw32 toolchain
as compilation fails.
To support dunfell, add BBCLASSEXTEND append to the spirv-tools.
Fixes: QTBUG-113210
Change-Id: Icce264b1f2bff5f56cf2b40a0420c5001493e236
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 69a8018ec1)
This commit is contained in:
parent
579a5e5440
commit
252c438708
|
|
@ -14,6 +14,11 @@ BBPATH .= ":${LAYERDIR}"
|
|||
# We have a recipes directory, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
# bbappends for optional layers
|
||||
BBFILES_DYNAMIC += " \
|
||||
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \
|
||||
"
|
||||
|
||||
BBFILE_COLLECTIONS += "qt6-layer"
|
||||
BBFILE_PATTERN_qt6-layer := "^${LAYERDIR}/"
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
@ -11,5 +11,8 @@ include recipes-qt/qt6/qt6.inc
|
|||
|
||||
DEPENDS = "qtbase qtshadertools-native"
|
||||
|
||||
RDEPENDS:${PN}-tools = "spirv-tools"
|
||||
RDEPENDS:${PN}-tools:remove:mingw32 = "spirv-tools"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user