diff options
Diffstat (limited to 'packages/dsplink/dsplink_1.50.bb')
-rw-r--r-- | packages/dsplink/dsplink_1.50.bb | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/packages/dsplink/dsplink_1.50.bb b/packages/dsplink/dsplink_1.50.bb index 9d0e1134d8..7051966ffc 100644 --- a/packages/dsplink/dsplink_1.50.bb +++ b/packages/dsplink/dsplink_1.50.bb @@ -1,6 +1,8 @@ DESCRIPTION = "DSP Link for TI ARM/DSP processors" -DEPENDS = "virtual/kernel" +DEPENDS = "virtual/kernel perl-native" + +inherit module-base PR = "r0" @@ -8,10 +10,11 @@ PR = "r0" # md5sum # Look for tarball at https://www-a.ti.com/downloads/sds_support/targetcontent/link/index.html -SRC_URI ="http://install.tarball.in.source.dir/dsplink_1_50.tar.gz \ -file://CURRENTCFG.MK \ -file://c64xx_5.xx_linux.mk \ -file://davinci_mvlpro5.0.mk \ +SRC_URI = "http://install.tarball.in.source.dir/dsplink_1_50.tar.gz \ + file://CURRENTCFG.MK \ + file://c64xx_5.xx_linux.mk \ + file://davinci_mvlpro5.0.mk \ + file://prcs-fix-include.patch;patch=1 \ " S = "${WORKDIR}/dsplink_1_50/dsplink" @@ -23,10 +26,28 @@ do_configure () { cp ${WORKDIR}/CURRENTCFG.MK ${S}/config cp ${WORKDIR}/davinci_mvlpro5.0.mk ${S}/make/Linux cp ${WORKDIR}/c64xx_5.xx_linux.mk ${S}/make/DspBios + + sed -i -e s:SED_ME_SOURCEDIR:${S}:g \ + -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 \ + ${S}/config/CURRENTCFG.MK + + sed -i -e s:SED_ME_CROSS:${STAGING_INCDIR}:g \ + -e s:SED_ME_STAGINGDIR:${STAGING_DIR_TARGET}:g \ + -e s:SED_ME_TARGET_PREFIX:${TARGET_PREFIX}:g \ + -e s:SED_ME_KERNELDIR:${STAGING_KERNEL_DIR}:g \ + ${S}/make/Linux/davinci_mvlpro5.0.mk + } +PARALLEL_MAKE = "" + do_compile () { - make -C ${S}/dsplink/gpp/src + ln -sf ${S}/gpp/src/api/*h ${S}/gpp/inc/ + ln -sf ${S}/gpp/src/pmgr/Linux/2.6.18 ${S}/gpp/src/pmgr/Linux/2.6.26-rc2-omap1 + oe_runmake -C ${S}/gpp/src } PACKAGE_ARCH = "${MACHINE_ARCH}" |