Initial Commit
- initial default booting image
This commit is contained in:
29
package/atop/Config.in
Normal file
29
package/atop/Config.in
Normal file
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_ATOP
|
||||
bool "atop"
|
||||
depends on BR2_USE_MMU # fork(), libglib2
|
||||
depends on BR2_USE_WCHAR # ncurses wchar, libglib2
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # PERF_FLAG_FD_CLOEXEC
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_NCURSES_WCHAR
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
Atop is an ASCII full-screen performance monitor for Linux
|
||||
that is capable of reporting the activity of all processes
|
||||
(even if processes have finished during the interval), daily
|
||||
logging of system and process activity for long-term analysis,
|
||||
highlighting overloaded system resources by using colors, etc.
|
||||
At regular intervals, it shows system-level activity related
|
||||
to the CPU, memory, swap, disks (including LVM) and network
|
||||
layers, and for every process (and thread) it shows e.g. the
|
||||
CPU utilization, memory growth, disk utilization, priority,
|
||||
username, state, and exit code.
|
||||
|
||||
http://www.atoptool.nl
|
||||
|
||||
comment "atop needs a toolchain w/ wchar, headers >= 3.14, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
5
package/atop/atop.hash
Normal file
5
package/atop/atop.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally computed:
|
||||
sha256 ea182f84c9f52ca922e5af4f17dff97ff424400a4f2f92393317a6af66e6a874 atop-2.13.0.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||
29
package/atop/atop.mk
Normal file
29
package/atop/atop.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# atop
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ATOP_VERSION = 2.13.0
|
||||
ATOP_SITE = http://www.atoptool.nl/download
|
||||
ATOP_LICENSE = GPL-2.0+
|
||||
ATOP_LICENSE_FILES = COPYING
|
||||
ATOP_CPE_ID_VALID = YES
|
||||
ATOP_DEPENDENCIES = ncurses zlib libglib2 host-pkgconf
|
||||
|
||||
ATOP_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
ATOP_CFLAGS += -O0
|
||||
endif
|
||||
|
||||
define ATOP_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(ATOP_CFLAGS)" \
|
||||
-C $(@D)
|
||||
endef
|
||||
|
||||
define ATOP_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/atop $(TARGET_DIR)/usr/bin/atop
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user