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