summaryrefslogtreecommitdiff
path: root/packages/dsplink/dsplink.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-23 08:52:31 +0200
committerKoen Kooi <koen@openembedded.org>2008-10-23 08:52:31 +0200
commit7ce959da11d87ace501005d4f8210a34413443ff (patch)
tree2984c8618edfbae6928ad8fedad235b85c1a7141 /packages/dsplink/dsplink.inc
parentd40f6e14fbd370672b111b4216f9736bae969d5b (diff)
dsplink: cleanups
* remove old recipes * make dsplink configure work with davinci as well * get rid of unneeded vars
Diffstat (limited to 'packages/dsplink/dsplink.inc')
-rw-r--r--packages/dsplink/dsplink.inc44
1 files changed, 12 insertions, 32 deletions
diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc
index 3b18d490cd..7c8d5c8baf 100644
--- a/packages/dsplink/dsplink.inc
+++ b/packages/dsplink/dsplink.inc
@@ -13,53 +13,33 @@ export DSPLINK = "${S}"
require ti-paths.inc
-DSPLINKPLATFORM ?= "Davinci"
-
+DSPLINKPLATFORM ?= "DAVINCI"
DSPLINKPLATFORM_omap5912osk = "OMAP"
DSPLINKPLATFORM_beagleboard = "OMAP3530"
-DSPLINKPLATFORM_davinci-sffsdr = "Davinci"
-DSPLINKPLATFORM_davinci-dvevm = "Davinci"
+DSPLINKPLATFORM_davinci-sffsdr = "DAVINCI"
+DSPLINKPLATFORM_davinci-dvevm = "DAVINCI"
DSPLINKDSP ?= "C64XX"
-DSPLINKSOC ?= "DM6446"
+DSPLINKSOC ?= "DM6446"
DSPLINKSOC_beagleboard = "3530"
+DSPCFG ?= "DM6446GEMSHMEM"
+DSPCFG_beagleboard ?= "OMAP3530SHMEM"
-USERARMFLAGS = "${TARGET_CC_ARCH}"
-KERNELARMFLAGS = "-include linux/autoconf.h -c -iwithprefix include -Iinclude -Wall -Wstrict-prototypes \
- -Wno-trigraphs -fno-strict-aliasing -fno-common \
- -fno-omit-frame-pointer -mapcs -mno-sched-prolog \
- -mlittle-endian \
- -D__LINUX_ARM_ARCH__=5 -march=armv5t -mtune=arm9tdmi \
- -Uarm \
- -Wdeclaration-after-statement -Os -marm -mabi=aapcs-linux"
-KERNELARMFLAGS_armv6 = "-include linux/autoconf.h -c -iwithprefix include -Iinclude -Wall -Wstrict-prototypes \
- -Wno-trigraphs -fno-strict-aliasing -fno-common \
- -fno-omit-frame-pointer -mapcs -mno-sched-prolog \
- -mlittle-endian \
- -D__LINUX_ARM_ARCH__=6 -march=armv6j -mtune=arm1136jf-s \
- -Uarm \
- -Wdeclaration-after-statement -Os -marm -mabi=aapcs-linux"
-KERNELARMFLAGS_armv7a = "-c -nostdinc -include $(BASE_OSINC)/linux/autoconf.h -isystem $(OSINC_PLATFORM) -iwithprefix include -Iinclude -Wall -Wstrict-prototypes \
- -Wno-trigraphs -fno-strict-aliasing -fno-common \
- -fno-omit-frame-pointer -mapcs -mno-sched-prolog \
- -mlittle-endian \
- -D__LINUX_ARM_ARCH__=7 -march=armv7-a -mtune=cortex-a8 \
- -Uarm \
- -Wdeclaration-after-statement -Os -marm -mabi=aapcs-linux \
- -D__KERNEL__ -mno-thumb-interwork -msoft-float -fno-optimize-sibling-calls -g -fno-stack-protector -Wno-pointer-sign -g -DUSE_UDEV=1 -DOS_LINUX -DLINUX_KERNEL"
-
-DSPFLAGS = "-q -pdr -pdv -pden -ml3 -mv64+ "
+GPPOS ?= "DAVINCILSP"
+GPPOS_beagleboard = "OMAPLSP"
export DSPLINKPLATFORM
export DSPLINKDSP
export DSPLINKSOC
+export DSPCFG
+export GPPOS
do_configure () {
# Run perl script to create appropriate makefiles (v1.60 and up)
-DSPLINK=${S} perl config/bin/dsplinkcfg.pl --platform=${DSPLINKPLATFORM} --nodsp=1 --dspcfg_0=OMAP3530SHMEM --dspos_0=DSPBIOS5XX --gppos=OMAPLSP --comps=ponslrmc
+DSPLINK=${S} perl config/bin/dsplinkcfg.pl --platform=${DSPLINKPLATFORM} --nodsp=1 --dspcfg_0=${DSPCFG} --dspos_0=DSPBIOS5XX --gppos=${GPPOS} --comps=ponslrm
}
@@ -93,7 +73,7 @@ do_install () {
cp ${S}/gpp/BUILD/EXPORT/RELEASE/dsplinkk.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/
install -d ${D}/${bindir}
- install ${S}/gpp/BUILD/EXPORT/RELEASE/loopgpp ${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/mpcsxfergpp ${D}/${bindir}