From: Roger Monk Date: Mon, 15 Mar 2010 00:15:43 +0000 (+0000) Subject: ti-codecs-omapl137: Use L138 codecs for public URL and patch X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a22f289414ee08ffe5e6cd6d3c3a8418e324b8;p=openembedded.git ti-codecs-omapl137: Use L138 codecs for public URL and patch * Start using OMAPL138 codecs as basis for OMAPL137 combo * Patch to build combo package with L137 xdc config * Move common patch to 'files' Signed-off-by: Roger Monk Signed-off-by: Koen Kooi --- diff --git a/recipes/ti/ti-codecs-omapl138/ti-codecs-omapl138-1-00-00-fixDman3Config.patch b/recipes/ti/files/ti-codecs-omapl138-1-00-00-fixDman3Config.patch similarity index 100% rename from recipes/ti/ti-codecs-omapl138/ti-codecs-omapl138-1-00-00-fixDman3Config.patch rename to recipes/ti/files/ti-codecs-omapl138-1-00-00-fixDman3Config.patch diff --git a/recipes/ti/ti-codecs-omapl137_1.00.00.bb b/recipes/ti/ti-codecs-omapl137_1.00.00.bb index 0fd564c96a..2926fd7dd1 100644 --- a/recipes/ti/ti-codecs-omapl137_1.00.00.bb +++ b/recipes/ti/ti-codecs-omapl137_1.00.00.bb @@ -3,14 +3,14 @@ HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent" SECTION = "multimedia" # TODO :: Move to common .inc (omap3 and omapl ready) +# TODO :: Rename to generic OMAPL codecs (instead of omapl137/138) PV = "1_00_00" -# This is invalid checksum SRC_URI[l137codecsbin.md5sum] = "64a53cd55bc63d3a6f4db742aff90de9" SRC_URI[l137codecsbin.sha256sum] = "4fb1075ad83f6017616410eff35ada7d567f1ee1b5b23624a817e8fc7dda3f8a" -PR = "r2" +PR = "r4" require ti-paths.inc require ti-staging.inc @@ -18,18 +18,27 @@ require ti-eula-unpack.inc PROVIDES += "ti-codecs-omapl137-server" -S = "${WORKDIR}/omapl137_dvsdk_combos_1_0" +S = "${WORKDIR}/OMAP_L138_arm_1_00_00_08/cs1omapl138_${PV}" -SRC_URI = "http://install.source.dir.local/omapl137_dvsdk_combos_1_0.tar.gz;name=l137codecsbin" +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sdk/omap_l138/1_00/latest/exports/${BINFILE};name=l137codecsbin \ + file://ti-codecs-omapl138-1-00-00-fixDman3Config.patch;patch=1" -#BINFILE = "cs1omapl138_${PV}-v2_setup_linux.bin" -#TI_BIN_UNPK_CMDS = "y:Y: qY:workdir" +BINFILE = "cs1omapl138_${PV}-v2_setup_linux.bin" +TI_BIN_UNPK_CMDS = "y:Y: qY:workdir" DEPENDS = "ti-cgt6x ti-xdctools ti-dspbios ti-codec-engine ti-linuxutils" #generic codec DSPSUFFIX_omapl137 = "x64P" +do_configure() { + + # Reconfig this package for L137 + sed -i 's/L138/L137/g' config.bld + sed -i 's/L138/L137/g' packages/ti/sdo/server/cs/package.bld + sed -i 's/L138/L137/g' packages/ti/sdo/server/cs/server.tcf +} + do_prepsources() { make \