initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_HTOP
|
||||
bool "htop"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS # dlopen()
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
htop is an interactive text-mode process viewer for Linux.
|
||||
It aims to be a better top.
|
||||
|
||||
https://htop.dev/
|
||||
|
||||
comment "htop needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 b52280ad05a535ec632fbcd47e8e2c40a9376a9ddbd7caa00b38b9d6bb87ced6 htop-3.1.1.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# htop
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HTOP_VERSION = 3.1.1
|
||||
HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION))
|
||||
HTOP_DEPENDENCIES = ncurses
|
||||
HTOP_AUTORECONF = YES
|
||||
# Prevent htop build system from searching the host paths
|
||||
HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)
|
||||
HTOP_LICENSE = GPL-2.0+
|
||||
HTOP_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HWLOC),y)
|
||||
HTOP_CONF_OPTS += --enable-hwloc
|
||||
HTOP_DEPENDENCIES += hwloc
|
||||
else
|
||||
HTOP_CONF_OPTS += --disable-hwloc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
HTOP_CONF_OPTS += --enable-capabilities
|
||||
HTOP_DEPENDENCIES += libcap
|
||||
else
|
||||
HTOP_CONF_OPTS += --disable-capabilities
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
|
||||
HTOP_CONF_OPTS += --with-sensors
|
||||
HTOP_DEPENDENCIES += lm-sensors
|
||||
else
|
||||
HTOP_CONF_OPTS += --without-sensors
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
||||
HTOP_CONF_OPTS += --enable-unicode
|
||||
else
|
||||
HTOP_CONF_OPTS += --disable-unicode
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user