[oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

Denys Dmytriyenko denis at denix.org
Wed Jun 22 21:11:11 UTC 2011


On Wed, Jun 22, 2011 at 02:02:01PM -0500, Jeff Lance wrote:
> * Modify to use arago MACHINE name for platforms
> * Add all Sitara platforms
> * Update SRCREV to 41
> 
> Signed-off-by: Jeff Lance <j-lance1 at ti.com>

Jeff,

See my coments below.


> ---
>  recipes/ti/matrix-tui.inc    |   12 +++---------
>  recipes/ti/matrix-tui_1.1.bb |    4 ++--
>  2 files changed, 5 insertions(+), 11 deletions(-)
> 
> diff --git a/recipes/ti/matrix-tui.inc b/recipes/ti/matrix-tui.inc
> index 1ad8aa8..a3793d3 100644
> --- a/recipes/ti/matrix-tui.inc
> +++ b/recipes/ti/matrix-tui.inc
> @@ -9,13 +9,6 @@ INC_PR = "r7"
>  
>  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 \
>  "
> @@ -28,7 +21,7 @@ S = "${WORKDIR}/trunk"
>  #INITSCRIPT_PARAMS = "defaults 99"
>  
>  do_configure() {
> -	sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:' makefile.init
> +	sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:' makefile.init

I don't think this is needed. The whole point of that sed magic I put in 
there, is to make assignments of TUI_INCLUDE_PATH, XML_INCLUDE_PATH and 
TUI_LIB_PATH conditionally, so they can be overwritten below in the 
do_compile() task...


>  	sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk
>  }
>  
> @@ -39,11 +32,12 @@ do_compile() {
>  	export TUI_INCLUDE_PATH=${STAGING_INCDIR}
>  	export XML_INCLUDE_PATH=${STAGING_INCDIR}/libxml2
>  	export TUI_LIB_PATH=${STAGING_LIBDIR}
> +	export PLATFORM=${MACHINE}
>  	make release
>  }
>  
>  do_install() {
> -	export PLATFORM=${PLATFORM}
> +	export PLATFORM=${MACHINE}
>  	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
> index 9814d5f..7e95d62 100644
> --- a/recipes/ti/matrix-tui_1.1.bb
> +++ b/recipes/ti/matrix-tui_1.1.bb
> @@ -1,4 +1,4 @@
>  require matrix-tui.inc
>  
> -SRCREV = "37"
> -PR = "${INC_PR}.4"
> +SRCREV = "41"
> +PR = "${INC_PR}.5"
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list