Merge pull request #23704 from graysky2/htop
htop: build with CONFIG_HTOP_LMSENSORS=y
This commit is contained in:
commit
df8781bb87
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=htop
|
PKG_NAME:=htop
|
||||||
PKG_VERSION:=3.3.0
|
PKG_VERSION:=3.3.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/htop-dev/htop/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/htop-dev/htop/tar.gz/$(PKG_VERSION)?
|
||||||
|
@ -48,11 +48,12 @@ define Package/htop/config
|
||||||
config HTOP_LMSENSORS
|
config HTOP_LMSENSORS
|
||||||
bool "Compile Htop with lm-sensors support"
|
bool "Compile Htop with lm-sensors support"
|
||||||
depends on PACKAGE_htop
|
depends on PACKAGE_htop
|
||||||
default y if TARGET_x86
|
default y
|
||||||
help
|
help
|
||||||
Build htop with lm-sensors support.
|
Build htop with lm-sensors support.
|
||||||
This doesn't add lm-sensors as dependency,
|
This increases the binary by approx 5 kB.
|
||||||
if present it'll loaded using dlopen().
|
Users wanting this functionality need to
|
||||||
|
install libsensors.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
|
|
Loading…
Reference in New Issue