summaryrefslogtreecommitdiff
path: root/packages/dsplink
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-05-25 20:16:12 +0000
committerKoen Kooi <koen@openembedded.org>2008-05-25 20:16:12 +0000
commit7cb55f596c4fba38eb3335e17cf85d686ed2c99a (patch)
treeec1373e6a216cfc2fbaa73e2c7a9cfd9007b5c03 /packages/dsplink
parentb31cf559ad563285de30aa0a6c901cd106bb1736 (diff)
dsplink: begin supporting building for different DSP platforms: Omap and Davinci
Diffstat (limited to 'packages/dsplink')
-rw-r--r--packages/dsplink/dsplink_1.50.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/dsplink/dsplink_1.50.bb b/packages/dsplink/dsplink_1.50.bb
index bd9c2eaa62..9bc4c48223 100644
--- a/packages/dsplink/dsplink_1.50.bb
+++ b/packages/dsplink/dsplink_1.50.bb
@@ -24,6 +24,15 @@ S = "${WORKDIR}/dsplink_1_50/dsplink"
# Needed for buildscripts
export DSPLINK = "${S}"
+DSPLINKPLATFORM ?= "Davinci"
+
+DSPLINKPLATFORM_omap5912osk = "Omap"
+DSPLINKPLATFORM_beagleboard = "Omap"
+DSPLINKPLATFORM_davinci-sffsdr = "Davinci"
+DSPLINKPLATFORM_davinci-dvevm = "Davinci"
+
+export DSPLINKPLATFORM
+
do_configure () {
cp ${WORKDIR}/CURRENTCFG.MK ${S}/config
cp ${WORKDIR}/davinci_mvlpro5.0.mk ${S}/make/Linux
@@ -33,7 +42,7 @@ do_configure () {
-e s:SED_ME_GPPDISTRO:davinci_mvlpro5\.0:g \
-e s:SED_ME_KERNELVERSION:${KERNEL_VERSION}:g \
-e s:SED_ME_DSPDISTRO:davinci_mvlpro5\.0:g \
- -e s:SED_ME_PLATFORM:Davinci:g \
+ -e s:SED_ME_PLATFORM:${DSPLINKPLATFORM}:g \
${S}/config/CURRENTCFG.MK
sed -i -e s:SED_ME_CROSS:${STAGING_INCDIR}:g \
@@ -57,7 +66,6 @@ do_compile () {
unset DISPLAY
oe_runmake -C ${S}/gpp/src all targets
- oe_runmake -C ${S}/gpp/src all targets
oe_runmake -C ${S}/gpp/src/samples
}