libwayland-egl-mx6-dev \
"
+# Skip package if it does not match the machine float-point type in use
+python __anonymous () {
+ 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)}"
USE_DFB = "${@base_contains("DISTRO_FEATURES", "directfb", "yes", "no", d)}"
USE_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
+++ /dev/null
-# Copyright (C) 2012-2013 Freescale Semiconductor
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-PR = "r5.0"
-
-include gpu-viv-bin-mx6q.inc
-
-SRC_URI += "file://0001-change-header-path-to-HAL.patch \
- file://gc_hal_eglplatform-remove-xlib-undefs.patch \
- file://fix-conflicting-TLS-definition.patch"
-
-SRC_URI[md5sum] = "2bb7d2f4bdff79ae99ce0c9fc2540701"
-SRC_URI[sha256sum] = "48d04d11c6fec11411bcd97c47199caea517ebcd86db6c70f1964b3358a68924"
-
-# FIXME: 3.0.35-4.0.0 BSP release uses DirectFB 1.4 and Yocto has 1.6 so
-# disable it for now
-USE_DFB = "no"
--- /dev/null
+# Copyright (C) 2013 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+include gpu-viv-bin-mx6q.inc
+
+SRC_URI += "file://0001-change-header-path-to-HAL.patch \
+ file://gc_hal_eglplatform-remove-xlib-undefs.patch"
+
+SRC_URI[md5sum] = "f5f4e2e7767c784315461c132929e7d3"
+SRC_URI[sha256sum] = "f16747ee5ae2e88631cc1494db98f7b5762940c7db25795906b7cc8f87405caf"
+
+PACKAGE_FP_TYPE = "hardfp"
--- /dev/null
+# Copyright (C) 2013 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+include gpu-viv-bin-mx6q.inc
+
+SRC_URI += "file://0001-change-header-path-to-HAL.patch \
+ file://gc_hal_eglplatform-remove-xlib-undefs.patch"
+
+SRC_URI[md5sum] = "ef08a4ad04c7886a44af16e826d0f444"
+SRC_URI[sha256sum] = "e212e361044eb1f9089761e115e71b27dab67c832ebb1ddbc830c17d2b1e2fba"
+
+PACKAGE_FP_TYPE = "softfp"