diff options
Diffstat (limited to 'bsp/meta-freescale/dynamic-layers/openembedded-layer')
5 files changed, 8 insertions, 56 deletions
diff --git a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend index b579028b..2e648ba3 100644 --- a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +++ b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend @@ -1,4 +1,4 @@ -PACKAGECONFIG_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', \ - bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', '', d), d)}" -PACKAGECONFIG_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', '', \ - bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl', '', d), d)}" +# Only _mx8 machine do provide virtual/libgbm required for any drm* flavour +DRM-REMOVE_imxgpu = "drm-gl drm-gles2" +DRM-REMOVE_imxgpu_mx8 = "" +PACKAGECONFIG_remove = "${DRM-REMOVE}" diff --git a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index cbf8e24f..2f5f1afa 100644 --- a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb @@ -39,7 +39,7 @@ do_install () { install -m 755 ${S}/source/fmc ${D}/${bindir} install -d ${D}${sysconfdir}/fmc/config - install -m 644 ${S}${sysconfdir}/fmc/config/hxs_pdl_v3.xml ${D}${sysconfdir}/fmc/config + install -m 644 ${S}${sysconfdir}/fmc/config/* ${D}${sysconfdir}/fmc/config install -d ${D}/${includedir}/fmc install ${S}/source/fmc.h ${D}/${includedir}/fmc diff --git a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch deleted file mode 100644 index 274fbe74..00000000 --- a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 90f869763026e8ff18aeecde217d778f00e4f294 Mon Sep 17 00:00:00 2001 -From: Shawn Xiao <b49994@freescale.com> -Date: Tue, 10 Feb 2015 16:11:59 +0800 -Subject: [PATCH] MGS-515 [#ccc] Opencv app can't run on imx6sx with cam - -This issue is caused by the no support of VIDIOC_QUERYCTRL ioctl -item in latest cam driver. - -Modified the errno in check logic to compatible with new driver. - -Feb 10, 2015 - -Upstream-Status: Pending - -Signed-off-by: Shawn Xiao <b49994@freescale.com> ---- - modules/highgui/src/cap_v4l.cpp | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/modules/highgui/src/cap_v4l.cpp b/modules/highgui/src/cap_v4l.cpp -index c9fca05..8c46b6c 100644 ---- a/modules/highgui/src/cap_v4l.cpp -+++ b/modules/highgui/src/cap_v4l.cpp -@@ -707,7 +707,8 @@ static void v4l2_scan_controls(CvCaptureCAM_V4L* capture) - - } else { - -- if (errno == EINVAL) -+ if (errno == ENOTTY || -+ errno == EINVAL) - continue; - - perror ("VIDIOC_QUERYCTRL"); -@@ -774,7 +775,8 @@ static void v4l2_scan_controls(CvCaptureCAM_V4L* capture) - - } else { - -- if (errno == EINVAL) -+ if (errno == ENOTTY || -+ errno == EINVAL) - break; - - perror ("VIDIOC_QUERYCTRL"); --- -2.3.0 - diff --git a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_3.4.%.bbappend b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_3.4.%.bbappend deleted file mode 100644 index 3c4c7f5e..00000000 --- a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_3.4.%.bbappend +++ /dev/null @@ -1,5 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI_append_mx6sx = " file://0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch" - -PACKAGECONFIG_remove_imxgpu2d = "v4l" diff --git a/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.%.bbappend b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.%.bbappend new file mode 100644 index 00000000..2bae6470 --- /dev/null +++ b/bsp/meta-freescale/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +PACKAGECONFIG_remove_imxgpu2d = "v4l" |