gstreamer-ti: reinstate omapfb header check
authorKoen Kooi <k-kooi@ti.com>
Mon, 10 May 2010 14:07:11 +0000 (16:07 +0200)
committerKoen Kooi <koen@openembedded.org>
Sat, 12 Jun 2010 09:03:53 +0000 (11:03 +0200)
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/ti/gstreamer-ti.inc

index afcc59b..85b6d25 100644 (file)
@@ -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}