]> code.ossystems Code Review - meta-freescale.git/commitdiff
classes/recipes: Convert SkipPackage -> SkipRecipe
authorChunrong Guo <chunrong.guo@nxp.com>
Fri, 26 Jan 2018 06:33:20 +0000 (14:33 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 26 Jan 2018 18:48:49 +0000 (16:48 -0200)
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@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/qe-ucode/qe-ucode_git.bb
recipes-bsp/u-boot/u-boot-qoriq_2017.12.bb

index 27166d0a124ba889de0ea5c51ef31acb94e74261..bab2794f97e5aed8d80b9625ba247becb3496742 100644 (file)
@@ -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 () {
index 93bdeef136269aade30ff5c2da33e01b39e4bddd..c24416d5951d5cc0068d172de893738312c669d9 100644 (file)
@@ -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)