summaryrefslogtreecommitdiff
path: root/recipes/ti/ti-dsplink.inc
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-02-25 12:44:16 +0000
committerKoen Kooi <koen@openembedded.org>2010-04-12 19:43:20 +0200
commit73efa8afa568d88ebf94563e9200fbcdfb669fbe (patch)
treef28dc8590211701d69c3a607c98ba0108913406c /recipes/ti/ti-dsplink.inc
parent893cba6c8ad21270753654af0d16fbed0288cc91 (diff)
ti recipes: Start moving /files into package specific directories
ti-codec-engine: Cleanup Codec Engine Recipe * Fix Installer Issues * Cleanup Variable Names + Add for all targets * Remove non-tspa older 2.24.01 recipe * Add omapl137 depends ti-xdais: Recipe Cleanup ti-dsplink: Add runscript to run all example applications (for easy testing) * Add run script * Rename load/unload scripts for consistency * Use _append instead of += for RDEPENDS * ti-dsplink: fix GPPOS for omapl137 * SED out CROSS_COMPILE from dsplink Makefile gstreamer-ti: Recipe Cleanup align with other recipes * Recipe cleanup, cosmetics * Move required variables inside recipe * Ensure all targets have variables assigned * Add -rc scripts for all targets * Add runtime recommends for all targets * Needs LINUXKERNEL_INSTALL_DIR setting * export LINUXKERNEL_INSTALL_DIR for gstreamer_ti * add logic for patching to newer kernel (mach/omapfb) * don't error out if the sed on omapfb fails since the header won't be there for non-omap3 ti-codecs: Recipe cleanup for omapl, omap3 and dm6446 * Cleanup of omap3, omapl138, omapl137, dm6446 * Start building omapl138 recipe * Add prepsources step * Package codecs into -server package * Add qualiTI reports and codec data sheet * Variable cleanup * Set stage for common codec build recipe * Temp comment out variables, for removal in subsequent commit after validation ti-dmai: Recipe cleanup * Recipe cleanup, cosmetics * Move required variables inside recipe, remove unused variables * Runtime deps for -apps, -tests * Add loadmodules script for omapl137 * Need to pass path to CE 'example' codecs for arm side audio codec (g711) ti-local-power-manager: Set XDC_PLATFORM * lpm needs XDC platform defined. Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti/ti-dsplink.inc')
-rw-r--r--recipes/ti/ti-dsplink.inc24
1 files changed, 14 insertions, 10 deletions
diff --git a/recipes/ti/ti-dsplink.inc b/recipes/ti/ti-dsplink.inc
index 432cfb436e..9fc1375f5e 100644
--- a/recipes/ti/ti-dsplink.inc
+++ b/recipes/ti/ti-dsplink.inc
@@ -15,13 +15,14 @@ PROVIDES += "ti-dsplink-examples"
# This package builds a kernel module, use kernel PR as base and append a local version
PR = "${MACHINE_KERNEL_PR}"
-PR_append = "c"
+PR_append = "d"
S = "${WORKDIR}/dsplink_linux_${PV}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/DSPLink/${PV}/exports/dsplink_linux_${PV}.tar.gz;name=dsplinktarball \
- file://loadmodules-ti-dsplink-apps.sh \
- file://unloadmodules-ti-dsplink-apps.sh "
+ file://ti-dsplink-examples-run.sh \
+ file://ti-dsplink-examples-loadmodules.sh \
+ file://ti-dsplink-examples-unloadmodules.sh "
DEPENDS = "ti-dspbios ti-xdctools ti-cgt6x"
DEPENDS += "virtual/kernel perl-native"
@@ -44,7 +45,7 @@ DSPLINKDSPCFG ?= "<UNDEFINED_DSPLINKDSPCFG>"
DSPLINKGPPOS_dm6446 = "MVL5G"
DSPLINKGPPOS_dm6467 = "DM6467LSP"
-DSPLINKGPPOS_omapl137 = "ARM"
+DSPLINKGPPOS_omapl137 = "MVL5G"
DSPLINKGPPOS_omapl138 = "ARM"
DSPLINKGPPOS_omap3 = "OMAPLSP"
DSPLINKGPPOS ?= "<DEFINED_DSPLINKGPPOS>"
@@ -59,6 +60,9 @@ do_configure() {
# We can safely sed it out since it has been empty for the past 2 years
sed -i /page.h/d ${S}/dsplink/gpp/src/api/Linux/drv_api.c || true
+ # Makefile passes hardcoded CROSS_COMPILE - rename so this doesnt get passed to kbuild
+ sed -i -e s:CROSS_COMPILE:BOGUS_CROSS_COMPILE:g ${S}/dsplink/gpp/src/Rules.mk
+
# Run perl script to create appropriate makefiles (v1.60 and up)
(
cd ${DSPLINK}
@@ -66,7 +70,6 @@ do_configure() {
--dspcfg_0=${DSPLINKDSPCFG} --dspos_0=DSPBIOS5XX \
--gppos=${DSPLINKGPPOS} --comps=ponslrmc
)
-
}
do_prepsources () {
@@ -210,9 +213,10 @@ do_install () {
done
# Install the example apps module un/load scripts
- install ${WORKDIR}/loadmodules-ti-dsplink-apps.sh ${D}/${installdir}/ti-dsplink-examples
- install ${WORKDIR}/unloadmodules-ti-dsplink-apps.sh ${D}/${installdir}/ti-dsplink-examples
-
+ install ${WORKDIR}/ti-dsplink-examples-loadmodules.sh ${D}/${installdir}/ti-dsplink-examples
+ install ${WORKDIR}/ti-dsplink-examples-unloadmodules.sh ${D}/${installdir}/ti-dsplink-examples
+ install ${WORKDIR}/ti-dsplink-examples-run.sh ${D}/${installdir}/ti-dsplink-examples
+
# Install/Stage the Source Tree
install -d ${D}${LINK_INSTALL_DIR_RECIPE}
cp -pPrf ${S}/* ${D}${LINK_INSTALL_DIR_RECIPE}
@@ -236,7 +240,7 @@ pkg_postrm_ti-dsplink-module_append () {
}
PACKAGES += "ti-dsplink-examples"
-RDEPENDS_ti-dsplink-examples += "ti-dsplink-module"
-RDEPENDS_ti-dsplink-examples_omap3 += "ti-lpm-module"
+RDEPENDS_ti-dsplink-examples_append = " ti-dsplink-module"
+RDEPENDS_ti-dsplink-examples_append_omap3 += " ti-lpm-module"
FILES_ti-dsplink-examples = "${installdir}/ti-dsplink-examples/*"
INSANE_SKIP_ti-dsplink-examples = True