[oe-commits] Koen Kooi : ti-lpm-module: add tweak to build against post header move kernel
GIT User account
git at amethyst.openembedded.net
Thu Dec 11 11:18:31 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: d2d5f0a35ca345a1c97f2e20842bd803c0f19f31
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d2d5f0a35ca345a1c97f2e20842bd803c0f19f31
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Dec 11 12:15:38 2008 +0100
ti-lpm-module: add tweak to build against post header move kernel
---
packages/dsplink/lpm.inc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/packages/dsplink/lpm.inc b/packages/dsplink/lpm.inc
index ed8d868..7d15cd4 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} \
More information about the Openembedded-commits
mailing list