meta-qt6/classes/disable-build.bbclass
Samuli Piippo 9bd853d4fe 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>
2020-11-16 22:04:43 +02:00

12 lines
420 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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"))
}