matrix-gui: Add support for am387x-evm machine
[openembedded.git] / recipes / ti / matrix-gui-common.inc
blob0ed72b53fa3e539a35de41dca2d13d926bb67a34
1 DESCRIPTION = "Common files for all versions of Matrix GUI"
2 HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
3 LICENSE = "BSD"
4 SECTION = "multimedia"
5 PRIORITY = "optional"
7 INC_PR = "r9"
9 COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
11 PLATFORM_dm365-evm = "dm365"
12 PLATFORM_dm368-evm = "dm368"
13 PLATFORM_omapl138 = "omapl138"
14 PLATFORM_omap3evm = "omap3530"
15 PLATFORM_dm37x-evm = "dm3730"
16 PLATFORM_am37x-evm = "am3715"
17 PLATFORM_beagleboard = "am3715"
18 PLATFORM_ti816x = "ti816x"
19 PLATFORM_ti814x = "ti814x"
20 PLATFORM_am180x-evm = "am180x"
21 PLATFORM_am181x-evm = "am181x"
22 PLATFORM_am3517-evm = "am3517"
24 #Checkout the project repository to get access to the scripts and data
25 #files.
26 SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
28 S = "${WORKDIR}/trunk"
30 PACKAGE_ARCH = ${MACHINE_ARCH}
32 do_install() {
33     install -d ${D}/${bindir}
34     install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/
35     install -d ${D}/${datadir}/matrix/html
36     install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html
37     install -d ${D}/${datadir}/matrix/images
38     install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/
39     install -m 0644 ${S}/images/*.svg ${D}/${datadir}/matrix/images/
43 FILES_${PN} += "${datadir}/matrix/*"