summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-08 10:25:23 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-08 10:25:23 +0200
commit4ccabab2da685304c2447c99cb50bb84b795d964 (patch)
tree171145fcdcfa1b3a23ead5b02431cd08bfffa3f7
parentb04da76f3dcf1167f990015df0ce0c83b43e545a (diff)
ti-dmai: add compile fix for DSS2 changes in linux-omap 2.6.29
-rw-r--r--recipes/dsplink/ti-dmai_svn.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/dsplink/ti-dmai_svn.bb b/recipes/dsplink/ti-dmai_svn.bb
index 76fa74a258..ed9cc01a50 100644
--- a/recipes/dsplink/ti-dmai_svn.bb
+++ b/recipes/dsplink/ti-dmai_svn.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "Davinci (and OMAP) Multimedia Application Interface"
DEPENDS = "virtual/kernel ti-codec-engine ti-codec-combos"
LICENCE = "unknown"
+inherit module-base
+
require ti-paths.inc
SRC_URI = "svn://gforge.ti.com/svn/dmai/branches;module=BRIJESH_GIT_022309;proto=https;user=anonymous;pswd='' \
@@ -15,7 +17,6 @@ SRCREV = "36"
S = "${WORKDIR}/BRIJESH_GIT_022309/davinci_multimedia_application_interface/dmai"
# Yes, the xdc stuff still breaks with a '.' in PWD
PV = "120+svnr${SRCREV}"
-PR = "${MACHINE_KERNEL_PR}"
TARGET = "all"
TARGET_neuros-osd2 = " dm6446_al dm6446_db"
@@ -30,6 +31,10 @@ export FC_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/ce
export CODEC_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos"
do_compile() {
+ if [ $(echo ${KERNEL_VERSION} | cut -c5,6) -gt 28 ] ; then
+ sed -i -e s:mach/omapfb:linux/omapfb:g packages/ti/sdo/dmai/linux/Display_fbdev.c
+ fi
+
cd packages/ti/sdo/dmai
oe_runmake clean
oe_runmake ${TARGET} C_FLAGS="-O2 -I${STAGING_INCDIR}"