Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

apmd: Switch to getting libtool from PATH

While doing this, also ensure CC/CFLAGS/LDFLAGS are also obeyed.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
  • Loading branch information...
commit 3f7a74fd62188bd06797a2397d51a69f67933549 1 parent d0dece3
Tom Rini authored

Showing 1 changed file with 6 additions and 2 deletions. Show diff stats Hide diff stats

  1. +6 2 recipes/apmd/apmd_3.2.2.bb
8 recipes/apmd/apmd_3.2.2.bb
@@ -3,7 +3,7 @@ SECTION = "base"
3 3 PRIORITY = "required"
4 4 DEPENDS = "libtool-cross"
5 5 LICENSE = "GPL"
6   -PR = "r12"
  6 +PR = "r13"
7 7
8 8 SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz \
9 9 file://debian.patch \
@@ -23,8 +23,12 @@ inherit update-rc.d
23 23 INITSCRIPT_NAME = "apmd"
24 24 INITSCRIPT_PARAMS = "defaults"
25 25
  26 +LIBTOOL = "${HOST_SYS}-libtool"
  27 +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}' 'CC=${CC}' 'CFLAGS=${CFLAGS}' \
  28 + 'LDFLAGS=${LDFLAGS}'"
  29 +
26 30 do_compile() {
27   - oe_runmake "LIBTOOL=${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool" apm apmd
  31 + oe_runmake apm apmd
28 32 }
29 33
30 34 do_install() {

0 comments on commit 3f7a74f

Please sign in to comment.
Something went wrong with that request. Please try again.