aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ti/matrix-gui-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ti/matrix-gui-common.inc')
-rw-r--r--recipes/ti/matrix-gui-common.inc35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/ti/matrix-gui-common.inc b/recipes/ti/matrix-gui-common.inc
new file mode 100644
index 0000000000..096c321642
--- /dev/null
+++ b/recipes/ti/matrix-gui-common.inc
@@ -0,0 +1,35 @@
+DESCRIPTION = "Common files for all versions of Matrix GUI"
+HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
+LICENSE = "BSD"
+SECTION = "multimedia"
+PRIORITY = "optional"
+
+COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
+
+PLATFORM_dm365 = "dm365"
+PLATFORM_omapl138 = "omapl138"
+PLATFORM_omap3evm = "omap3530"
+PLATFORM_dm37x-evm = "dm3730"
+PLATFORM_am37x-evm = "am3715"
+PLATFORM_beagleboard = "am3715"
+PLATFORM_ti816x = "ti816x"
+
+#Checkout the project repository to get access to the scripts and data
+#files.
+SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
+
+S = "${WORKDIR}/trunk"
+
+PACKAGE_ARCH = ${MACHINE_ARCH}
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/
+ install -d ${D}/${datadir}/matrix/html
+ install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html
+ install -d ${D}/${datadir}/matrix/images
+ install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/
+
+}
+
+FILES_${PN} += "${datadir}/matrix/*"