summaryrefslogtreecommitdiff
path: root/packages/dsplink/dsplink.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-11 12:11:09 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-11 12:11:09 +0100
commit97018bfcf611bc5b4892fdb5d8b87051cb199ab1 (patch)
tree15bddf3de4dc8e5802129f2d8217ff99df4c2422 /packages/dsplink/dsplink.inc
parente59e2fc47fc0c03e14c8e33cf63477de244f1ac5 (diff)
dsplink: start adding tweaks to build against a post-header move kernel as well
Diffstat (limited to 'packages/dsplink/dsplink.inc')
-rw-r--r--packages/dsplink/dsplink.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc
index 506b34b21a..bae948c2fd 100644
--- a/packages/dsplink/dsplink.inc
+++ b/packages/dsplink/dsplink.inc
@@ -19,6 +19,11 @@ do_configure () {
cd ${DSPLINK}
perl config/bin/dsplinkcfg.pl --platform=${DSPLINKPLATFORM} --nodsp=1 --dspcfg_0=${DSPCFG} --dspos_0=DSPBIOS5XX --gppos=${GPPOS} --comps=ponslrm
)
+
+ if [ $(echo ${KERNEL_VERSION} | cut -c5,6) -gt 26 ] ; then
+ sed -i -e s:asm/semaphore:linux/semaphore: ${S}/gpp/src/osal/Linux/user.c
+ sed -i -e s:asm/semaphore:linux/semaphore: ${S}/gpp/src/osal/Linux/2.6.18/sync.c
+ fi
}
PARALLEL_MAKE = ""