mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
classes/recipes: Convert SkipPackage -> SkipRecipe
Update following the SkipPackage -> SkipRecipe change in oe-core. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
a98acf9961
commit
3b3c4c8426
@@ -8,5 +8,5 @@ IMAGE_INSTALL = "kexecboot-klibc kexec-klibc ubiattach-klibc"
|
||||
|
||||
python () {
|
||||
if d.getVar('TARGET_ARCH') == "nios2":
|
||||
raise bb.parse.SkipPackage("'nios2' not supported arch")
|
||||
raise bb.parse.SkipRecipe("'nios2' not supported arch")
|
||||
}
|
||||
|
||||
@@ -27,5 +27,5 @@ do_install() {
|
||||
python () {
|
||||
os = d.getVar("TARGET_OS", True)
|
||||
if os == "linux-uclibc":
|
||||
raise bb.parse.SkipPackage("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this")
|
||||
raise bb.parse.SkipRecipe("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this")
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ def get_git_pv(d, tagadjust=None):
|
||||
return "0.0"
|
||||
|
||||
except Exception as exc:
|
||||
raise bb.parse.SkipPackage(str(exc))
|
||||
raise bb.parse.SkipRecipe(str(exc))
|
||||
|
||||
if ver and tagadjust:
|
||||
ver = tagadjust(ver)
|
||||
|
||||
@@ -29,7 +29,7 @@ python () {
|
||||
d.setVar('NE10_TARGET_ARCH', 'aarch64')
|
||||
bb.debug(2, 'Building Ne10 for aarch64')
|
||||
else:
|
||||
raise bb.parse.SkipPackage("Incompatible with archs other than armv7 and aarch64")
|
||||
raise bb.parse.SkipRecipe("Incompatible with archs other than armv7 and aarch64")
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
||||
Reference in New Issue
Block a user