* 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@gmail.com>
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 \
}
do_install() {
- oe_runmake user_install DESTDIR=${D}
+ oe_runmake user_install EXLDFLAGS="${LDFLAGS}" DESTDIR=${D}
install -d ${D}/.usr
mv ${D}/* ${D}/.usr
}
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"