matrix-gui-e: make versioned recipes
authorChase Maupin <chasemaupin03@gmail.com>
Thu, 30 Sep 2010 08:12:04 +0000 (08:12 +0000)
committerDenys Dmytriyenko <denis@denix.org>
Thu, 30 Sep 2010 23:32:28 +0000 (19:32 -0400)
* Abstracted common code to .inc file
* Made versioned recipe for version 1.1 and 1.2
* Removed _svn version of the recipe

Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
recipes/ti/matrix-gui-e.inc [moved from recipes/ti/matrix-gui-e_svn.bb with 90% similarity]
recipes/ti/matrix-gui-e_1.1.bb [new file with mode: 0644]
recipes/ti/matrix-gui-e_1.2.bb [new file with mode: 0644]

similarity index 90%
rename from recipes/ti/matrix-gui-e_svn.bb
rename to recipes/ti/matrix-gui-e.inc
index 5570d92..3004a65 100644 (file)
@@ -4,17 +4,15 @@ LICENSE = "BSD"
 SECTION = "multimedia"
 PRIORITY = "optional"
 
-SRCREV = "136"
-PV = "1.1"
-PR = "r18+svnr${SRCPV}"
+COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
 
 PLATFORM_dm365 = "dm365"
-PLATFORM_da850-omapl138-evm = "omapl138"
+PLATFORM_omapl138 = "omapl138"
 PLATFORM_omap3evm = "omap3530"
 PLATFORM_dm37x-evm = "dm3730"
 PLATFORM_am37x-evm = "am3715"
 PLATFORM_beagleboard = "am3715"
-PLATFORM ?= "<UNDEFINED>"
+PLATFORM_ti816x = "ti816x"
 
 SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
 
diff --git a/recipes/ti/matrix-gui-e_1.1.bb b/recipes/ti/matrix-gui-e_1.1.bb
new file mode 100644 (file)
index 0000000..d6a674f
--- /dev/null
@@ -0,0 +1,8 @@
+require matrix-gui-e.inc
+
+COMPATIBLE_MACHINE = "(dm365|omapl138|omap3)"
+
+SRCREV = "136"
+PV = "1.1"
+PR = "r19"
+
diff --git a/recipes/ti/matrix-gui-e_1.2.bb b/recipes/ti/matrix-gui-e_1.2.bb
new file mode 100644 (file)
index 0000000..461fc7e
--- /dev/null
@@ -0,0 +1,6 @@
+require matrix-gui-e.inc
+
+SRCREV = "146"
+PV = "1.2"
+PR = "r0"
+