Patchwork [1/1] am-benchmarks: add platform support and correct makefile

login
register
mail settings
Submitter Jeff Lance
Date Jan. 4, 2011, 6:56 p.m.
Message ID <1294167392-20610-1-git-send-email-j-lance1@ti.com>
Download mbox | patch
Permalink /patch/171/
State Superseded
Headers show

Comments

Jeff Lance - Jan. 4, 2011, 6:56 p.m.
* Modify recipe name to include package version
  * add support for additional platforms am181x-evm and am180x-evm
  * Update the SRCREV
    * Fix pathname to Rules.make in each Makefile

Signed-off-by: Jeff Lance <j-lance1@ti.com>
---
 .../{am-benchmarks_svn.bb => am-benchmarks_1.2.bb} |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
 copy recipes/ti/{am-benchmarks_svn.bb => am-benchmarks_1.2.bb} (87%)
chase maupin - Jan. 4, 2011, 7:39 p.m.
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Jeff Lance
> Sent: Tuesday, January 04, 2011 12:57 PM
> To: openembedded-devel@lists.openembedded.org
> Cc: Lance, Jeff
> Subject: [oe] [PATCH 1/1] am-benchmarks: add platform support and correct
> makefile
> 
>   * Modify recipe name to include package version
>   * add support for additional platforms am181x-evm and am180x-evm
>   * Update the SRCREV
>     * Fix pathname to Rules.make in each Makefile
> 
> Signed-off-by: Jeff Lance <j-lance1@ti.com>
> ---
>  .../{am-benchmarks_svn.bb => am-benchmarks_1.2.bb} |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
>  copy recipes/ti/{am-benchmarks_svn.bb => am-benchmarks_1.2.bb} (87%)
> 
> diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-
> benchmarks_1.2.bb
> similarity index 87%
> copy from recipes/ti/am-benchmarks_svn.bb
> copy to recipes/ti/am-benchmarks_1.2.bb
> index 63c122f..dbe2db7 100644
> --- a/recipes/ti/am-benchmarks_svn.bb
> +++ b/recipes/ti/am-benchmarks_1.2.bb
> @@ -8,9 +8,9 @@ LICENSE = "BSD"
>  SECTION = "system"
>  PRIORITY = "optional"
> 
> -SRCREV = "56"
> -PV = "1.1"
> -PR = "r1+svnr${SRCPV}"
> +SRCREV = "58"
> +PV = "1.2"

No need to set PV to 1.2 since you have changed the recipe name to am-benchmarks_1.2.bb.  PV will automatically get set to 1.2 because of the recipe name.

> +PR = "r2+svnr${SRCPV}"
> 
>  COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> 
> @@ -18,6 +18,8 @@ ARCHITECTURE_dm365 = "arm9"
>  ARCHITECTURE_omapl138 = "arm9"
>  ARCHITECTURE_omap3 = "cortex-a8"
>  ARCHITECTURE_ti816x = "cortex-a8"
> +ARCHITECTURE_am180x-evm = "arm9"
> +ARCHITECTURE_am181x-evm = "arm9"

You do not need to set architecture for am180x-evm and am181x-evm since the ARCHITECTURE_omapl138 override applies to these already and sets the architecture to "arm9"

> 
>  INSANE_SKIP_${PN} = "True"
> 
> --
> 1.6.3.3
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-benchmarks_1.2.bb
similarity index 87%
copy from recipes/ti/am-benchmarks_svn.bb
copy to recipes/ti/am-benchmarks_1.2.bb
index 63c122f..dbe2db7 100644
--- a/recipes/ti/am-benchmarks_svn.bb
+++ b/recipes/ti/am-benchmarks_1.2.bb
@@ -8,9 +8,9 @@  LICENSE = "BSD"
 SECTION = "system"
 PRIORITY = "optional"
 
-SRCREV = "56"
-PV = "1.1"
-PR = "r1+svnr${SRCPV}"
+SRCREV = "58"
+PV = "1.2"
+PR = "r2+svnr${SRCPV}"
 
 COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
 
@@ -18,6 +18,8 @@  ARCHITECTURE_dm365 = "arm9"
 ARCHITECTURE_omapl138 = "arm9"
 ARCHITECTURE_omap3 = "cortex-a8"
 ARCHITECTURE_ti816x = "cortex-a8"
+ARCHITECTURE_am180x-evm = "arm9"
+ARCHITECTURE_am181x-evm = "arm9"
 
 INSANE_SKIP_${PN} = "True"