summaryrefslogtreecommitdiffstats
path: root/recipes-ti/dmai
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2021-08-11 14:39:05 -0400
committerYogesh Siraswar <yogeshs@ti.com>2021-08-17 11:21:54 +0000
commite21c11b4a44417f67c78503bc3f954c175ac20e2 (patch)
treee1d5252c9a4cc979e67e154abeb8dd7ad0b545a7 /recipes-ti/dmai
parentf56051c9a8cf09f54c43b81301073eed71bbda97 (diff)
downloadmeta-ti-e21c11b4a44417f67c78503bc3f954c175ac20e2.tar.gz
meta-ti: convert to new override syntax in honister
Upcoming "honister" release changes the override syntax to improve usability, speed and memory footprint. Update recipes with the new syntax and set layer compatibility to honister. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Tested-by: Paul Barker <paul.barker@sancloud.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Diffstat (limited to 'recipes-ti/dmai')
-rw-r--r--recipes-ti/dmai/ti-dmai.inc48
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh2
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh2
-rw-r--r--recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh2
-rw-r--r--recipes-ti/dmai/ti-dmai_svn.bb20
5 files changed, 37 insertions, 37 deletions
diff --git a/recipes-ti/dmai/ti-dmai.inc b/recipes-ti/dmai/ti-dmai.inc
index 50621184..c9c40865 100644
--- a/recipes-ti/dmai/ti-dmai.inc
+++ b/recipes-ti/dmai/ti-dmai.inc
@@ -31,22 +31,22 @@ SRC_URI = "svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};protocol=https;use
31 31
32DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools-native" 32DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools-native"
33 33
34DEPENDS_append_dm6446 = " ti-codecs-dm6446 ti-dspbios ti-cgt6x ti-linuxutils" 34DEPENDS:append_dm6446 = " ti-codecs-dm6446 ti-dspbios ti-cgt6x ti-linuxutils"
35DEPENDS_append_dm6467 = " ti-codecs-dm6467 ti-dspbios ti-cgt6x ti-linuxutils" 35DEPENDS:append_dm6467 = " ti-codecs-dm6467 ti-dspbios ti-cgt6x ti-linuxutils"
36DEPENDS_append_omap3 = " ti-codecs-omap3530 ti-dspbios ti-cgt6x ti-linuxutils" 36DEPENDS:append:omap3 = " ti-codecs-omap3530 ti-dspbios ti-cgt6x ti-linuxutils"
37DEPENDS_append_dm355 = " ti-codecs-dm355" 37DEPENDS:append_dm355 = " ti-codecs-dm355"
38DEPENDS_append_dm365 = " ti-codecs-dm365" 38DEPENDS:append_dm365 = " ti-codecs-dm365"
39DEPENDS_append_omapl137 = " ti-codecs-omapl137 ti-dspbios ti-cgt6x ti-linuxutils" 39DEPENDS:append:omapl137 = " ti-codecs-omapl137 ti-dspbios ti-cgt6x ti-linuxutils"
40DEPENDS_append_omapl138 = " ti-codecs-omapl138 ti-dspbios ti-cgt6x ti-linuxutils" 40DEPENDS:append:omapl138 = " ti-codecs-omapl138 ti-dspbios ti-cgt6x ti-linuxutils"
41 41
42# Define DMAI build time variables 42# Define DMAI build time variables
43DMAIPLATFORM_dm6446 = "dm6446_al" 43DMAIPLATFORM_dm6446 = "dm6446_al"
44DMAIPLATFORM_dm6467 = "dm6467_al" 44DMAIPLATFORM_dm6467 = "dm6467_al"
45DMAIPLATFORM_omap3 = "o3530_al" 45DMAIPLATFORM:omap3 = "o3530_al"
46DMAIPLATFORM_dm355 = "dm355_al" 46DMAIPLATFORM_dm355 = "dm355_al"
47DMAIPLATFORM_dm365 = "dm365_al" 47DMAIPLATFORM_dm365 = "dm365_al"
48DMAIPLATFORM_omapl137 = "ol137_al" 48DMAIPLATFORM:omapl137 = "ol137_al"
49DMAIPLATFORM_omapl138 = "ol138_al" 49DMAIPLATFORM:omapl138 = "ol138_al"
50DMAIPLATFORM ?= "UNDEFINED_DMAIPLATFORM" 50DMAIPLATFORM ?= "UNDEFINED_DMAIPLATFORM"
51 51
52# Need to set this for other platforms as well 52# Need to set this for other platforms as well
@@ -55,8 +55,8 @@ DMAIPLATFORM ?= "UNDEFINED_DMAIPLATFORM"
55#GPPOS ?= "UNDEFINEDGPPOS" 55#GPPOS ?= "UNDEFINEDGPPOS"
56 56
57# Need to re-define this for OMAP-L137/L138 57# Need to re-define this for OMAP-L137/L138
58DSPSUFFIX_omapl137 = "x64P" 58DSPSUFFIX:omapl137 = "x64P"
59DSPSUFFIX_omapl138 = "x64P" 59DSPSUFFIX:omapl138 = "x64P"
60DSPSUFFIX ?= "x64p" 60DSPSUFFIX ?= "x64p"
61 61
62# This is needed for dm355/dm365 targets in order to find ti.sdo.codecs.g711 62# This is needed for dm355/dm365 targets in order to find ti.sdo.codecs.g711
@@ -145,18 +145,18 @@ do_install () {
145PACKAGE_ARCH = "${MACHINE_ARCH}" 145PACKAGE_ARCH = "${MACHINE_ARCH}"
146 146
147PACKAGES += "ti-dmai-apps" 147PACKAGES += "ti-dmai-apps"
148FILES_ti-dmai-apps = "${installdir}/ti-dmai-apps/*" 148FILES:ti-dmai-apps = "${installdir}/ti-dmai-apps/*"
149INSANE_SKIP_ti-dmai-apps = "1" 149INSANE_SKIP:ti-dmai-apps = "1"
150 150
151RDEPENDS_ti-dmai-apps_dm6446 += "ti-codecs-dm6446-server ti-cmem-module ti-dsplink-module" 151RDEPENDS:ti-dmai-apps_dm6446 += "ti-codecs-dm6446-server ti-cmem-module ti-dsplink-module"
152RDEPENDS_ti-dmai-apps_dm6467 += "ti-codecs-dm6467 ti-cmem-module ti-dsplink-module" 152RDEPENDS:ti-dmai-apps_dm6467 += "ti-codecs-dm6467 ti-cmem-module ti-dsplink-module"
153RDEPENDS_ti-dmai-apps_omap3 += "ti-codecs-omap3530-server ti-cmem-module ti-dsplink-module ti-lpm-module ti-sdma-module" 153RDEPENDS:ti-dmai-apps:omap3 += "ti-codecs-omap3530-server ti-cmem-module ti-dsplink-module ti-lpm-module ti-sdma-module"
154RDEPENDS_ti-dmai-apps_dm355 += "ti-codecs-dm355 ti-cmem-module ti-dm355mm-module" 154RDEPENDS:ti-dmai-apps_dm355 += "ti-codecs-dm355 ti-cmem-module ti-dm355mm-module"
155RDEPENDS_ti-dmai-apps_dm365 += "ti-codecs-dm365 ti-cmem-module ti-dm365mm-module ti-edma-module ti-irq-module" 155RDEPENDS:ti-dmai-apps_dm365 += "ti-codecs-dm365 ti-cmem-module ti-dm365mm-module ti-edma-module ti-irq-module"
156RDEPENDS_ti-dmai-apps_omapl137 += "ti-codecs-omapl137-server ti-cmem-module ti-dsplink-module" 156RDEPENDS:ti-dmai-apps:omapl137 += "ti-codecs-omapl137-server ti-cmem-module ti-dsplink-module"
157RDEPENDS_ti-dmai-apps_omapl138 += "ti-codecs-omapl138-server ti-cmem-module ti-dsplink-module" 157RDEPENDS:ti-dmai-apps:omapl138 += "ti-codecs-omapl138-server ti-cmem-module ti-dsplink-module"
158 158
159pkg_postinst_ti-dmai-apps () { 159pkg_postinst:ti-dmai-apps () {
160 ln -sf ${installdir}/ti-codecs-server/*.${DSPSUFFIX} ${installdir}/ti-dmai-apps/ 160 ln -sf ${installdir}/ti-codecs-server/*.${DSPSUFFIX} ${installdir}/ti-dmai-apps/
161} 161}
162 162
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh
index 7120b744..2bfd03c2 100755
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh
+++ b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh
@@ -34,4 +34,4 @@ modprobe dsplinkk
34 34
35# insert Local Power Manager driver 35# insert Local Power Manager driver
36# 36#
37modprobe lpm_omap3530 37modprobe lpm:omap3530
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh
index 076af072..094d23d1 100755
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh
+++ b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh
@@ -38,5 +38,5 @@ mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
38 38
39# insert Local Power Manager driver 39# insert Local Power Manager driver
40# 40#
41modprobe lpm_omap3530 41modprobe lpm:omap3530
42 42
diff --git a/recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh b/recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh
index 793d727f..81d00af8 100644
--- a/recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh
+++ b/recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh
@@ -1,7 +1,7 @@
1# Unload modules - DMAI - OMAP3530 1# Unload modules - DMAI - OMAP3530
2 2
3# remove lpm module 3# remove lpm module
4rmmod lpm_omap3530 4rmmod lpm:omap3530
5 5
6# remove DSP/BIOS Link driver 6# remove DSP/BIOS Link driver
7rmmod dsplinkk 7rmmod dsplinkk
diff --git a/recipes-ti/dmai/ti-dmai_svn.bb b/recipes-ti/dmai/ti-dmai_svn.bb
index 3cc54b91..fb7ff3c3 100644
--- a/recipes-ti/dmai/ti-dmai_svn.bb
+++ b/recipes-ti/dmai/ti-dmai_svn.bb
@@ -12,32 +12,32 @@ LIC_FILES_CHKSUM = "file://dmai_${PV}_License.html;md5=3302f728a5a42f97cabc26a54
12 12
13# This package has high dependence on kernel, use kernel PR as base and append a local version 13# This package has high dependence on kernel, use kernel PR as base and append a local version
14PR = "${MACHINE_KERNEL_PR}" 14PR = "${MACHINE_KERNEL_PR}"
15PR_append = "p" 15PR:append = "p"
16 16
17DMAIBRANCH_dm6446 = "trunk" 17DMAIBRANCH_dm6446 = "trunk"
18DMAIBRANCH_dm6467 = "branches/GITPSP_INT_101009" 18DMAIBRANCH_dm6467 = "branches/GITPSP_INT_101009"
19DMAIBRANCH_omap3 = "trunk" 19DMAIBRANCH:omap3 = "trunk"
20DMAIBRANCH_dm355 = "branches/GITPSP_INT_101009" 20DMAIBRANCH_dm355 = "branches/GITPSP_INT_101009"
21DMAIBRANCH_dm365 = "trunk" 21DMAIBRANCH_dm365 = "trunk"
22DMAIBRANCH_omapl137 = "trunk" 22DMAIBRANCH:omapl137 = "trunk"
23DMAIBRANCH_omapl138 = "trunk" 23DMAIBRANCH:omapl138 = "trunk"
24DMAIBRANCH ?= "UNDEFINED_DMAIBRANCH" 24DMAIBRANCH ?= "UNDEFINED_DMAIBRANCH"
25 25
26SRCREV_dm6446 = "482" 26SRCREV_dm6446 = "482"
27SRCREV_dm6467 = "441" 27SRCREV_dm6467 = "441"
28SRCREV_omap3 = "642" 28SRCREV:omap3 = "642"
29SRCREV_dm355 = "424" 29SRCREV_dm355 = "424"
30SRCREV_dm365 = "570" 30SRCREV_dm365 = "570"
31SRCREV_omapl137 = "482" 31SRCREV:omapl137 = "482"
32SRCREV_omapl138 = "570" 32SRCREV:omapl138 = "570"
33SRCREV ?= "UNDEFINED_SRCREV" 33SRCREV ?= "UNDEFINED_SRCREV"
34 34
35SRC_URI_append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=3 \ 35SRC_URI:append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=3 \
36 file://r642-fix-config-bld.diff;striplevel=3 \ 36 file://r642-fix-config-bld.diff;striplevel=3 \
37 file://remove-unneeded-includes.patch \ 37 file://remove-unneeded-includes.patch \
38 " 38 "
39 39
40INSANE_SKIP_${PN} = "installed-vs-shipped" 40INSANE_SKIP:${PN} = "installed-vs-shipped"
41 41
42COMPATIBLE_HOST ?= "null" 42COMPATIBLE_HOST ?= "null"
43COMPATIBLE_HOST_ti-soc = "(.*)" 43COMPATIBLE_HOST:ti-soc = "(.*)"