Patchwork apmd: use ${HOST_SYS}-libtool

login
register
mail settings
Submitter Andrew Gabbasov
Date Sept. 28, 2011, 12:07 p.m.
Message ID <4E830E1E.3030404@mentor.com>
Download mbox | patch
Permalink /patch/12339/
State New, archived
Headers show

Comments

Andrew Gabbasov - Sept. 28, 2011, 12:07 p.m.
libtool-cross uses ${HOST_SYS}- prefix while building and installing.
In some cases that may be different from ${TARGET_PREFIX}, that is currently
used in apmd recipe. It's better to have them consistent.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
---
 meta/recipes-bsp/apmd/apmd_3.2.2-14.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - Sept. 28, 2011, 8:40 p.m.
On Wed, 2011-09-28 at 16:07 +0400, Andrew Gabbasov wrote:
> libtool-cross uses ${HOST_SYS}- prefix while building and installing.
> In some cases that may be different from ${TARGET_PREFIX}, that is currently
> used in apmd recipe. It's better to have them consistent.
> 
> Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
> ---
>  meta/recipes-bsp/apmd/apmd_3.2.2-14.bb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
> index e80e108..bf53cc6 100644
> --- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
> +++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
> @@ -34,7 +34,7 @@ INITSCRIPT_PARAMS = "defaults"
>  
>  do_compile() {
>  	# apmd doesn't use whole autotools. Just libtool for installation
> -	oe_runmake "LIBTOOL=${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool" apm apmd
> +	oe_runmake "LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" apm apmd
>  }
>  
>  do_install() {

I merged this and your three other patches to master, thanks.

Richard

Patch

diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
index e80e108..bf53cc6 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
@@ -34,7 +34,7 @@  INITSCRIPT_PARAMS = "defaults"
 
 do_compile() {
 	# apmd doesn't use whole autotools. Just libtool for installation
-	oe_runmake "LIBTOOL=${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool" apm apmd
+	oe_runmake "LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" apm apmd
 }
 
 do_install() {