summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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
}