The ValidError case makes parsing fail even if the U-Boot variant is
not in use for the specific machine and this is not desired. So
instead of raising a parsing error we skip the package.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
#
# UBOOT_MACHINE = "config"
#
-# Copyright 2013 (C) O.S. Systems Software LTDA.
+# Copyright 2013, 2014 (C) O.S. Systems Software LTDA.
python () {
ubootmachine = d.getVar("UBOOT_MACHINE", True)
# Go out as we found a match!
break
else:
- raise ValueError("UBOOT_CONFIG %s is not supported" % ubootconfig)
+ raise bb.parse.SkipPackage("UBOOT_CONFIG %s is not supported" % ubootconfig)
}