summaryrefslogtreecommitdiff
path: root/apmd
diff options
context:
space:
mode:
Diffstat (limited to 'apmd')
-rw-r--r--apmd/apmd_3.2.0.oe11
1 files changed, 2 insertions, 9 deletions
diff --git a/apmd/apmd_3.2.0.oe b/apmd/apmd_3.2.0.oe
index 9b0df16523..e48678742f 100644
--- a/apmd/apmd_3.2.0.oe
+++ b/apmd/apmd_3.2.0.oe
@@ -1,7 +1,7 @@
SECTION = "base"
PRIORITY = "required"
MAINTAINER = "Greg Gilbert <greg@treke.net>"
-DEPENDS = "virtual/libc"
+DEPENDS = "virtual/libc libtool-cross"
DESCRIPTION = "Set of tools for managing notebook power consumption."
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz;"
@@ -14,15 +14,8 @@ SRC_URI_append =" file://${FILESDIR}/make.patch;patch=1"
S = "${WORKDIR}/apmd-${PV}.orig"
-inherit libtool
-
do_compile() {
- if [ -e ${STAGING_BINDIR}/${TARGET_SYS}-libtool ]; then
- LIBTOOL=${STAGING_BINDIR}/${TARGET_SYS}-libtool
- else
- LIBTOOL=libtool
- fi
- oe_runmake "LIBTOOL=$LIBTOOL" apm apmd
+ oe_runmake "LIBTOOL=${STAGING_BINDIR}/${TARGET_PREFIX}libtool" apm apmd
}
do_stage() {