[oe-commits] Khem Raj : lmsensors-apps_2.10.8.bb: Fix QA error about missing GNU hash

git version control git at git.openembedded.org
Thu Oct 22 09:30:20 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: a9447264efcef76f4e3759c3f61bfd37b89b5337
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a9447264efcef76f4e3759c3f61bfd37b89b5337

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Oct 21 19:57:09 2009 -0700

lmsensors-apps_2.10.8.bb: Fix QA error about missing GNU hash

* On ARM because we do not pass EXLDFLAGS in do_install
  and do_stage we get binaries without .gnu_hash section.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/lm_sensors/lmsensors-apps_2.10.8.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/lm_sensors/lmsensors-apps_2.10.8.bb b/recipes/lm_sensors/lmsensors-apps_2.10.8.bb
index 8947ffb..af58136 100644
--- a/recipes/lm_sensors/lmsensors-apps_2.10.8.bb
+++ b/recipes/lm_sensors/lmsensors-apps_2.10.8.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "Hardware health monitoring applications"
 HOMEPAGE = "http://www.lm-sensors.org/"
 DEPENDS = "sysfsutils virtual/libiconv"
 LICENSE = "GPL"
+PR = "r1"
 
 SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.gz \
            file://prefix-fix.patch;patch=1 \
@@ -16,7 +17,7 @@ do_compile() {
 }
 
 do_install() {
-	oe_runmake user_install DESTDIR=${D}
+	oe_runmake user_install EXLDFLAGS="${LDFLAGS}" DESTDIR=${D}
 
 	install -d ${D}/.usr
 	mv ${D}/* ${D}/.usr
@@ -31,7 +32,7 @@ do_install() {
 }
 
 do_stage() {
-	oe_runmake user_install DESTDIR=${STAGING_DIR_TARGET}/${layout_prefix}
+	oe_runmake user_install EXLDFLAGS="${LDFLAGS}" DESTDIR=${STAGING_DIR_TARGET}/${layout_prefix}
 }
 
 PACKAGES =+  "libsensors libsensors-dev libsensors-dbg libsensors-doc"





More information about the Openembedded-commits mailing list