[OE-core] [PATCH] apmd: use ${HOST_SYS}-libtool

Andrew Gabbasov andrew_gabbasov at mentor.com
Wed Sep 28 12:07:58 UTC 2011


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 at 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() {




More information about the Openembedded-core mailing list