summaryrefslogtreecommitdiff
path: root/packages/dsplink
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dsplink')
-rw-r--r--packages/dsplink/lpm.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/dsplink/lpm.inc b/packages/dsplink/lpm.inc
index ed8d868462..7d15cd4d31 100644
--- a/packages/dsplink/lpm.inc
+++ b/packages/dsplink/lpm.inc
@@ -16,6 +16,10 @@ do_compile_append() {
# Build the DSP power manager kernel module
cd ${S}/cetools/packages/ti/bios/power/modules/${DSPPOWERSOC}/lpm
+ if [ $(echo ${KERNEL_VERSION} | cut -c5,6) -gt 26 ] ; then
+ sed -i -e s:asm/semaphore:linux/semaphore: lpm_driver.c
+ fi
+
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
rm -f *o
make KERNEL_PATH=${STAGING_KERNEL_DIR} \