summaryrefslogtreecommitdiff
path: root/packages/dsplink/lpm.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-15 14:12:46 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-15 14:12:46 +0100
commit7a59e5082766cb19288aecdf72b9c0703071d3e8 (patch)
treeb77e3f5b03906d8647b5e8c1912d0aad118d068c /packages/dsplink/lpm.inc
parenta67695446b604cca6d8969adc3c273b632e5a037 (diff)
ti-cmemk-module, ti-lpm-module: adapt build to release versions that fixed the weird stuff we worked around
Diffstat (limited to 'packages/dsplink/lpm.inc')
-rw-r--r--packages/dsplink/lpm.inc25
1 files changed, 9 insertions, 16 deletions
diff --git a/packages/dsplink/lpm.inc b/packages/dsplink/lpm.inc
index 211ffd3766..7938268c52 100644
--- a/packages/dsplink/lpm.inc
+++ b/packages/dsplink/lpm.inc
@@ -3,8 +3,6 @@ DESCRIPTION = "Codec Engine for TI ARM/DSP processors - power module"
DEPENDS = "virtual/kernel perl-native dsplink"
RDEPENDS = "update-modules"
-inherit module
-
require ti-paths.inc
PARALLEL_MAKE = ""
@@ -13,22 +11,17 @@ do_compile_append() {
echo "MVTOOL_PREFIX=${TARGET_PREFIX}" > ${S}/Rules.make
echo "UCTOOL_PREFIX=${TARGET_PREFIX}" >> ${S}/Rules.make
echo "LINUXKERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR}" >> ${S}/Rules.make
+ export DSPLINK=${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/dsplink
# Build the DSP power manager kernel module
- cd ${S}/cetools/packages/ti/bios/power
-
- # Unpack all kernel sources for the DSP power manager module
- for dsp in $(ls | grep bld | awk -F, '{print $2}' | awk -F_ '{print $1}') ; do
- if ! [ -e $dsp ] ; then tar xf ti_bios_power,${dsp}_bld.tar ; fi
- done
-
- cd ${DSPPOWERSOC}/lpm
-
- unset LDFLAGS CFLAGS
- make KERNEL_PATH=${STAGING_KERNEL_DIR} \
- KERNEL_SRC=${STAGING_KERNEL_DIR} \
- KERNEL_DIR=${STAGING_KERNEL_DIR} \
- KERNEL_VERSION=${KERNEL_VERSION} \
+ cd ${S}/cetools/packages/ti/bios/power/modules/${DSPPOWERSOC}/lpm
+
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ rm -f *o
+ make KERNEL_PATH=${STAGING_KERNEL_DIR} \
+ KERNEL_SRC=${STAGING_KERNEL_DIR} \
+ KERNEL_DIR=${STAGING_KERNEL_DIR} \
+ KERNEL_VERSION=${KERNEL_VERSION} \
TOOL_PREFIX=${TARGET_PREFIX} \
DSPLINK_REPO=${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ \
CC="${KERNEL_CC}" LD="${KERNEL_LD}" \