[meta-freescale] [PATCH] classes/recipes: Convert SkipPackage -> SkipRecipe

Chunrong Guo B40290 at freescale.com
Thu Jan 25 22:33:20 PST 2018


From: Chunrong Guo <chunrong.guo at nxp.com>

The new name is much more consistent with what this actually means. We put
the pieces in place to rename everything a while back but looks like we
forgot to actually do it! Fix that now.

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-bsp/qe-ucode/qe-ucode_git.bb       | 2 +-
 recipes-bsp/u-boot/u-boot-qoriq_2017.12.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb
index 27166d0..bab2794 100644
--- a/recipes-bsp/qe-ucode/qe-ucode_git.bb
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -16,7 +16,7 @@ python () {
 		FILE = os.path.basename(d.getVar("FILE", True))
 		bb.debug(1, "To build %s, see %s for instructions on \
 			     setting up your qe-ucode" % (PN, FILE))
-		raise bb.parse.SkipPackage("because QE_UCODE is not set")
+		raise bb.parse.SkipRecipe("because QE_UCODE is not set")
 }
 
 do_install () {
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2017.12.bb b/recipes-bsp/u-boot/u-boot-qoriq_2017.12.bb
index 93bdeef..c24416d 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2017.12.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2017.12.bb
@@ -43,7 +43,7 @@ python () {
         d.setVar("WRAP_TARGET_PREFIX", 'powerpc' + sys_multilib + '-')
     elif "fsl-lsch2-32b:" in arch:
         if not "lib64" in ml:
-            raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled")
+            raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled")
         sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux'
         sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS')
         workdir = d.getVar('WORKDIR').replace(sys_original,sys_multilib)
-- 
1.9.0



More information about the meta-freescale mailing list