git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc5000
)
ti-lpm-module: add tweak to build against post header move kernel
author
Koen Kooi
<koen@openembedded.org>
Thu, 11 Dec 2008 11:15:38 +0000
(12:15 +0100)
committer
Koen Kooi
<koen@openembedded.org>
Thu, 11 Dec 2008 11:15:38 +0000
(12:15 +0100)
packages/dsplink/lpm.inc
patch
|
blob
|
history
diff --git
a/packages/dsplink/lpm.inc
b/packages/dsplink/lpm.inc
index
ed8d868
..
7d15cd4
100644
(file)
--- 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} \