Move buildroot to bsp directory.
This commit is contained in:
15
bsp/buildroot/package/bmon/Config.in
Normal file
15
bsp/buildroot/package/bmon/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_BMON
|
||||
bool "bmon"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||
select BR2_PACKAGE_LIBCONFUSE
|
||||
select BR2_PACKAGE_LIBNL
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
bmon is a bandwidth monitor capable of retrieving statistics from
|
||||
various input modules. It provides various output methods
|
||||
including a curses based interface.
|
||||
|
||||
http://www.infradead.org/~tgr/bmon/
|
||||
|
||||
comment "bmon needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
bsp/buildroot/package/bmon/bmon.hash
Normal file
2
bsp/buildroot/package/bmon/bmon.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 a9f3d7010074a3190038a8d95df5d47aaf2046b47d872590336b5f93be084685 bmon-3.7.tar.gz
|
||||
22
bsp/buildroot/package/bmon/bmon.mk
Normal file
22
bsp/buildroot/package/bmon/bmon.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# bmon
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BMON_VERSION = 3.7
|
||||
BMON_SITE = https://github.com/tgraf/bmon/releases/download/v$(BMON_VERSION)
|
||||
BMON_DEPENDENCIES = host-pkgconf libconfuse libnl ncurses
|
||||
BMON_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
||||
BMON_LICENSE = BSD-2c, MIT
|
||||
BMON_LICENSE_FILES = LICENSE.BSD LICENSE.MIT
|
||||
|
||||
# link dynamically unless explicitly requested otherwise
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
BMON_CONF_OPTS += --disable-static
|
||||
else
|
||||
# forgets to explicitly link with pthread for libnl
|
||||
BMON_CONF_OPTS += LIBS=-lpthread
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user