2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="lm_sensors"
|
2022-09-04 21:43:37 +00:00
|
|
|
PKG_VERSION="42f240d"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_ARCH="arm x86_64"
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="http://secure.netroedge.com/~lm78/"
|
2022-09-04 21:43:37 +00:00
|
|
|
PKG_URL="https://github.com/lm-sensors/lm-sensors.git"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="Provides user-space support for the hardware monitoring drivers."
|
|
|
|
|
|
|
|
PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr"
|
|
|
|
|
|
|
|
pre_make_target() {
|
2023-02-27 02:56:16 +00:00
|
|
|
PKG_MAKE_OPTS_TARGET="PREFIX=/usr CC=${CC} AR=${AR}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
export CFLAGS="${TARGET_CFLAGS}"
|
|
|
|
export CPPFLAGS="${TARGET_CPPFLAGS}"
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|