The 'bb.parse.SkipPackage' exception was missing a 'raise' call to proper inform the BitBake tool parsing system about the error, now the package is properly skipped when necessary.
Change-Id: Ie736186c8e459eea55c1455547e1da8f7111e165 Signed-off-by: Otavio Salvador <[email protected]> --- classes/fsl-dynamic-packagearch.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/fsl-dynamic-packagearch.bbclass b/classes/fsl-dynamic-packagearch.bbclass index 3e1faf4..91a1b14 100644 --- a/classes/fsl-dynamic-packagearch.bbclass +++ b/classes/fsl-dynamic-packagearch.bbclass @@ -39,7 +39,7 @@ python __anonymous () { elif list(machine_socarch_filter & (provides | depends)): package_arch = d.getVar("MACHINE_SOCARCH", True) if not package_arch: - bb.parse.SkipPackage("You must set MACHINE_SOCARCH as MACHINE_SOCARCH_FILTER is set for this SoC.") + raise bb.parse.SkipPackage("You must set MACHINE_SOCARCH as MACHINE_SOCARCH_FILTER is set for this SoC.") if package_arch: bb.debug(1, "Use '%s' as package archictecture for '%s'" % (package_arch, PN)) -- 2.1.4 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
