summaryrefslogtreecommitdiff
path: root/packages/dsplink/dsplink.inc
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2008-12-12 06:13:09 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-12 06:13:09 +0100
commita687990e05975119fe41da5a23282c2182147bbc (patch)
tree602a0f149ce578f43d4b6e69096bfa5dd6f5aaa7 /packages/dsplink/dsplink.inc
parent08932f053357287239a6f0dc17d74981c107637c (diff)
dsplink: fix user side build
Diffstat (limited to 'packages/dsplink/dsplink.inc')
-rw-r--r--packages/dsplink/dsplink.inc37
1 files changed, 22 insertions, 15 deletions
diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc
index 43b72c6137..00b62973ff 100644
--- a/packages/dsplink/dsplink.inc
+++ b/packages/dsplink/dsplink.inc
@@ -52,31 +52,38 @@ do_compile () {
export ARCHIVER_AR=${TARGET_PREFIX}ar
export BASE_SABIOS=${DSP_BASE_BIOS}
- mkdir -p ${S}/dsplink-kbuild-test
- cp ${WORKDIR}/Makefile-dsplink-kbuild ${S}/dsplink-kbuild-test/Makefile
- cd ${S}/dsplink-kbuild-test/
+ if [ ! -d ${S}/gpp/BUILD/EXPORT/RELEASE ] ; then
+ install -d ${S}/gpp/BUILD/EXPORT/RELEASE
+ fi
+
+ cp ${WORKDIR}/Makefile-dsplink-gpp ${S}/gpp/BUILD/EXPORT/RELEASE/Makefile
+ cd ${S}/gpp/BUILD/EXPORT/RELEASE/
+
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
- oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \
- KERNEL_SRC=${STAGING_KERNEL_DIR} \
- KDIR=${STAGING_KERNEL_DIR} \
- KERNEL_VERSION=${KERNEL_VERSION} \
- CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
- AR="${KERNEL_AR}" \
- V=1 ${MAKE_TARGETS}
- make -e -f ${WORKDIR}/Makefile.dsplink
+# oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \
+# KERNEL_SRC=${STAGING_KERNEL_DIR} \
+# KDIR=${STAGING_KERNEL_DIR} \
+# KERNEL_VERSION=${KERNEL_VERSION} \
+# CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
+# AR="${KERNEL_AR}" \
+# V=1 ${MAKE_TARGETS}
+
+ export KDIR=${STAGING_KERNEL_DIR}
+ make -e all
+ make -e -f ${WORKDIR}/Makefile-dsplink-dsp
}
do_install () {
install -d ${D}/${bindir}
# install ${S}/gpp/BUILD/EXPORT/RELEASE/loopgpp ${D}/${bindir}
install ${S}/gpp/BUILD/EXPORT/RELEASE/messagegpp ${D}/${bindir}
- install ${S}/gpp/BUILD/EXPORT/RELEASE/messagemultigpp ${D}/${bindir}
+# install ${S}/gpp/BUILD/EXPORT/RELEASE/messagemultigpp ${D}/${bindir}
install ${S}/gpp/BUILD/EXPORT/RELEASE/mpcsxfergpp ${D}/${bindir}
- install ${S}/gpp/BUILD/EXPORT/RELEASE/mplistgpp ${D}/${bindir}
+# install ${S}/gpp/BUILD/EXPORT/RELEASE/mplistgpp ${D}/${bindir}
install ${S}/gpp/BUILD/EXPORT/RELEASE/readwritegpp ${D}/${bindir}
- install ${S}/gpp/BUILD/EXPORT/RELEASE/ringiogpp ${D}/${bindir}
+# install ${S}/gpp/BUILD/EXPORT/RELEASE/ringiogpp ${D}/${bindir}
install ${S}/gpp/BUILD/EXPORT/RELEASE/scalegpp ${D}/${bindir} || true
install -d ${D}/${datadir}/dsplink
@@ -89,7 +96,7 @@ do_install () {
}
-# Coded Engine and friends need a complete tree, so stage it all
+# Codec Engine and friends need a complete tree, so stage it all
do_stage() {
install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/dsplink
cp -pPr ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/dsplink/