Add bbclass for disabling unsupported modules

The bbclass can be used to temporarily disable build of a broken
Qt module recipe without breaking the CI, packagegroup or toolchain
builds that include it.

Change-Id: I3a3e4b72350521b16f1c4fe50f423146ad86515d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2020-11-16 16:28:03 +02:00
parent 4d1dc35397
commit 9bd853d4fe

View File

@ -0,0 +1,11 @@
# Disable compilation steps for the recipe
# Useful for passing CI builds when a Qt module does not compile with updated qtbase or qtdeclarative
# Should be used only with the addon modules not officially supported in the Qt releases
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install[noexec] = "1"
python () {
bb.warn("%s is currenly not supported, build produces empty packages!" % d.getVar("BPN"))
}