]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Drop Floating Point type handler
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 13 Apr 2016 18:00:27 +0000 (15:00 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:06:34 +0000 (15:06 -0300)
The new packages does not support Soft-FP and releases will be always
in Hard-FP making the mechanism unused. Remove the dead code.

Change-Id: I833dbc61d29fec947876743e6ba3fb2f2112abd7
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p8.3-hfp.bb

index 4d77081253ed0d6ba522ed690fb86ec2084553c3..ce00724b13ed3fe3e55334d7554b8c1548887e63 100644 (file)
@@ -51,16 +51,6 @@ python __anonymous () {
         has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', True) or '0')
         if has_vivante_kernel_driver_support != '1':
                 raise bb.parse.SkipPackage('The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.')
-
-        # Skip package if it does not match the machine float-point type in use
-        is_machine_hardfp = base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d)
-        is_package_hardfp = d.getVar("PACKAGE_FP_TYPE", True) == "hardfp"
-
-        if is_package_hardfp != is_machine_hardfp:
-                PN = d.getVar("PN", True)
-                PV = d.getVar("PV", True)
-                bb.debug(1, "Skipping %s (%s) as machine and package float-point does not match" % (PN, PV))
-                raise bb.parse.SkipPackage("Package Float-Point is not compatible with the machine")
 }
 
 USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
index 319f8852a22d313a4687658c0b63aa8b0194691a..d32585768da5cb10f36d6d6bc0e255207433527b 100644 (file)
@@ -5,5 +5,3 @@ require imx-gpu-viv.inc
 
 SRC_URI[md5sum] = "0416a2a02bfaed6d5337428375d568d5"
 SRC_URI[sha256sum] = "0400f19dce7223e046ca693cae8578201904c8e7bdcf0c444a6114afa14f09fe"
-
-PACKAGE_FP_TYPE = "hardfp"