From 2b0bd01ca0c05bef0896d6c452b88e1655cd8801 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 10 May 2010 16:07:11 +0200 Subject: gstreamer-ti: reinstate omapfb header check Signed-off-by: Koen Kooi --- recipes/ti/gstreamer-ti.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/ti/gstreamer-ti.inc b/recipes/ti/gstreamer-ti.inc index afcc59b0c7..85b6d25299 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} -- cgit v1.2.3