aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <k-kooi@ti.com>2010-05-10 16:07:11 +0200
committerKoen Kooi <koen@openembedded.org>2010-06-12 11:03:53 +0200
commit2b0bd01ca0c05bef0896d6c452b88e1655cd8801 (patch)
tree12b3dd2259a48969c995e85c764cef1182dc8e19
parent1070e3c5b2d7a4b9d1105a640f2b4265082b5ec1 (diff)
downloadopenembedded-2b0bd01ca0c05bef0896d6c452b88e1655cd8801.tar.gz
gstreamer-ti: reinstate omapfb header check
Signed-off-by: Koen Kooi <k-kooi@ti.com>
-rw-r--r--recipes/ti/gstreamer-ti.inc7
1 files changed, 7 insertions, 0 deletions
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}