diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-11 12:15:38 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-11 12:15:38 +0100 |
commit | d2d5f0a35ca345a1c97f2e20842bd803c0f19f31 (patch) | |
tree | 5c8fa7e816a77cd8ea892a1a25847e798ddf7464 /packages/dsplink/lpm.inc | |
parent | 8cc5000083b68abb10f06844d36f5dec1b29052c (diff) |
ti-lpm-module: add tweak to build against post header move kernel
Diffstat (limited to 'packages/dsplink/lpm.inc')
-rw-r--r-- | 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 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} \ |