deleted file mode 100644
@@ -1,40 +0,0 @@
-# FIXME: We may need to disable EGL, GL ES1 and GL ES2
-python __anonymous () {
- import re
-
- # SoC families to work on
- families = ['mx5', 'mx6']
- cur_soc_families = d.getVar('SOC_FAMILY', True)
- if cur_soc_families and \
- any(map(lambda x: x in cur_soc_families.split(':'), families)):
- # Remove egl gles1 and gles2 configure options
- extra_oeconf = d.getVar('EXTRA_OECONF', True).split()
- take_out = ['--enable-egl', '--enable-gles1', '--enable-gles2']
- put_in = ['--disable-egl', '--disable-gles1', '--disable-gles2']
- pattern = re.compile("--with-egl-platforms")
- new_extra_oeconf = []
- for i in extra_oeconf:
- if i not in take_out and not pattern.match(i):
- new_extra_oeconf.append(i)
- for i in put_in:
- new_extra_oeconf.append(i)
-
- d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
-
- # Remove itens from provides
- provides = d.getVar('PROVIDES', True).split()
- take_out = ['virtual/libgles1', 'virtual/libgles2', 'virtual/egl']
- if 'mx6' in cur_soc_families.split(':'):
- take_out.append('virtual/libgl')
- new_provides = []
- for i in provides:
- if i not in take_out:
- new_provides.append(i)
-
- d.setVar('PROVIDES', ' '.join(new_provides))
-}
-
-# FIXME: Dirty hack to allow use of Vivante GPU libGL binary
-do_install_append_mx6 () {
- rm -f ${D}${libdir}/libGL.*
-}
new file mode 100644
From 33e426a1ce27b8dd3481ca2e3c25a1d9ea4f13e9 Mon Sep 17 00:00:00 2001
From: Alex Gonzalez <alex.gonzalez@digi.com>
Date: Tue, 5 Nov 2013 12:17:26 +0100
Subject: [PATCH 2/2] gst-fsl-plugin: Remove GST_INFO patch.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
---
.../remove-GST_INFO-in-mfw_gst_utils.h.patch | 40 --------------------
.../gst-plugins/gst-fsl-plugin_3.0.9.bb | 3 +-
2 files changed, 1 insertion(+), 42 deletions(-)
delete mode 100644 recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch
deleted file mode 100644
@@ -1,40 +0,0 @@
-From 28ad25933dc51d8af13927a9943a353677c31a3a Mon Sep 17 00:00:00 2001
-From: Lyon Wang <lyon.wang@freescale.com>
-Date: Tue, 22 Oct 2013 16:15:43 +0800
-Subject: [PATCH] remove GST_INFO in mfw_gst_utils.h
-
-GST_INFO() should not be used in the global header
-or it will cause some macro definiation error.
-
-so comment the GST_INFO() in the mfw_gst_utils.h
-
-Upstream-Status: Backport [GIT]
----
- fsl_mm_linux/Multimedia/inc/plugin/mfw_gst_utils.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/fsl_mm_linux/Multimedia/inc/plugin/mfw_gst_utils.h b/fsl_mm_linux/Multimedia/inc/plugin/mfw_gst_utils.h
-index 366d50e..c1b6f90 100755
---- a/fsl_mm_linux/Multimedia/inc/plugin/mfw_gst_utils.h
-+++ b/fsl_mm_linux/Multimedia/inc/plugin/mfw_gst_utils.h
-@@ -876,7 +876,7 @@ getChipCodeFromSocid (void)
- }
- fclose(fp);
-
-- GST_INFO("SOC is %s\n", soc_name);
-+ //GST_INFO("SOC is %s\n", soc_name);
-
- int num = sizeof(soc_info) / sizeof(SOC_INFO);
- int i;
-@@ -913,7 +913,7 @@ getChipCode (void)
- }
-
- kv = ((kv_major << 16) + (kv_minor << 8) + kv_rel);
-- GST_INFO("kernel:%s, %d.%d.%d\n", sys_name.release, kv_major, kv_minor, kv_rel);
-+ //GST_INFO("kernel:%s, %d.%d.%d\n", sys_name.release, kv_major, kv_minor, kv_rel);
-
- if (kv < KERN_VER(3, 10, 0))
- return getChipCodeFromCpuinfo();
-1.7.9.5
-
@@ -5,8 +5,7 @@ require gst-fsl-plugin.inc
SRC_URI[md5sum] = "a338a5c25225c765ae5f44af82fe7413"
SRC_URI[sha256sum] = "e809daa0cd60381f05a79f34a53305a5ee53bfed22192a1cda6d998acc84a6fd"
-SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-3.10.9-1.0.0.tar.gz \
- file://remove-GST_INFO-in-mfw_gst_utils.h.patch"
+SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-3.10.9-1.0.0.tar.gz"
S = "${WORKDIR}/gst-fsl-plugins-3.10.9-1.0.0"