matrix-tui: adding multi platform support
authorchase maupin <chasemaupin03@gmail.com>
Wed, 5 Jan 2011 03:36:17 +0000 (03:36 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 5 Jan 2011 08:23:51 +0000 (09:23 +0100)
* adding am180x, am181x, da850-omapl138, am3517 and am3715 support
* Updating SRC rev to pull in matrix-tui project with platform support
* removing INSANE_SKIP, it originally handled pre-built binaries which
  have since been removed
* Creating version 1.1 of the recipe
* matrix-tui.inc with platform support is backwards compatible with
  previous versions

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Jeff Lance <j-lance@ti.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/ti/matrix-tui.inc
recipes/ti/matrix-tui_1.1.bb [new file with mode: 0644]

index 6983406..1ad8aa8 100644 (file)
@@ -5,9 +5,16 @@ SECTION = "multimedia"
 PRIORITY = "optional"
 DEPENDS = "libxml2 zlib ncurses"
 
-INC_PR = "r5"
+INC_PR = "r7"
 
-INSANE_SKIP_${PN} = "True"
+COMPATIBLE_MACHINE = "(omapl138|omap3)"
+
+PLATFORM_am37x-evm = "am3715"
+PLATFORM_beagleboard = "am3715"
+PLATFORM_am3517-evm = "am3517"
+PLATFORM_am180x-evm = "am180x"
+PLATFORM_am181x-evm = "am181x"
+PLATFORM_da850-omapl138-evm = "am180x"
 
 SRC_URI = "svn://gforge.ti.com/svn/matrix_tui/;module=trunk;proto=https;user=anonymous;pswd='' \
        file://init \
@@ -36,6 +43,7 @@ do_compile() {
 }
 
 do_install() {
+       export PLATFORM=${PLATFORM}
        make DESTDIR=${D} install
        install -d ${D}${sysconfdir}/init.d/
        install -c -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-tui
diff --git a/recipes/ti/matrix-tui_1.1.bb b/recipes/ti/matrix-tui_1.1.bb
new file mode 100644 (file)
index 0000000..8f2ccbe
--- /dev/null
@@ -0,0 +1,4 @@
+require matrix-tui.inc
+
+SRCREV = "34"
+PR = "${INC_PR}.2"