[oe-commits] Koen Kooi : gstreamer-ti: reinstate omapfb header check

git version control git at git.openembedded.org
Sat Jun 12 09:04:40 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2b0bd01ca0c05bef0896d6c452b88e1655cd8801
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2b0bd01ca0c05bef0896d6c452b88e1655cd8801

Author: Koen Kooi <k-kooi at ti.com>
Date:   Mon May 10 16:07:11 2010 +0200

gstreamer-ti: reinstate omapfb header check

Signed-off-by: Koen Kooi <k-kooi at ti.com>

---

 recipes/ti/gstreamer-ti.inc |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/recipes/ti/gstreamer-ti.inc b/recipes/ti/gstreamer-ti.inc
index afcc59b..85b6d25 100644
--- a/recipes/ti/gstreamer-ti.inc
+++ b/recipes/ti/gstreamer-ti.inc
@@ -61,6 +61,13 @@ export LINK_XDC_ROOT   = "${LINK_INSTALL_DIR}"
 export CODEC_SERVER  = "${installdir}/ti-codecs-server/cs.x64P"
 CPPFLAGS_append = " -DPlatform_${PLATFORM}"
 
+do_configure_prepend() {
+	# PSP kernel is based on older DSS. we need to replace linux/omapfb.h with mach/omapfb.h
+	if ! [ -e ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ] ; then
+		sed -i -e s:linux/omapfb:mach/omapfb:g ${S}/src/omapfb.h || true
+	fi
+}
+
 do_install_prepend () {
 
     install -d ${D}/${installdir}/gst/${PLATFORM}





More information about the Openembedded-commits mailing list