Skip to contentSkip to conversation

apmd: use ${HOST_SYS}-libtool

PATCH Applied Andrew Gabbasov 2 participants 2 messages Sep 28, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apmd: use ${HOST_SYS}-libtool

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.

---
 meta/recipes-bsp/apmd/apmd_3.2.2-14.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-bsp/apmd/apmd_3.2.2-14.bb +1 -1
index e80e108..bf53cc6 100644
@@ -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() {
#1 lore raw
Quoted 14 lines · Andrew Gabbasov

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.

---
 meta/recipes-bsp/apmd/apmd_3.2.2-14.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-bsp/apmd/apmd_3.2.2-14.bb +0 -0
index e80e108..bf53cc6 100644

meta/recipes-bsp/apmd/apmd_3.2.2-14.bb INITSCRIPT_PARAMS = "defaults" · line 40

Quoted 8 lines
meta/recipes-bsp/apmd/apmd_3.2.2-14.bb +1 -1
@@ -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