mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
lm_sensors: make build with libiconv optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
2780fb8af5
commit
9540ee847b
@ -22,10 +22,14 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$ICONV" = "libiconv" ]; then
|
||||
CONFIG_SENSORS="LIBICONV=-liconv"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
make PREFIX=/usr \
|
||||
CC="$TARGET_CC" \
|
||||
AR="$TARGET_AR" \
|
||||
CFLAGS="$TARGET_CFLAGS" \
|
||||
CPPFLAGS="$TARGET_CPPFLAGS" \
|
||||
LIBICONV="-liconv" \
|
||||
$CONFIG_SENSORS \
|
||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://secure.netroedge.com/~lm78/"
|
||||
PKG_URL="http://dl.lm-sensors.org/lm-sensors/releases/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="libiconv"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv"
|
||||
PKG_DEPENDS="$ICONV"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="lm_sensors: Hardware monitoring via the SMBus"
|
||||
|
Loading…
x
Reference in New Issue
Block a user