Add buildroot 2018-02
This commit is contained in:
21
buildroot/package/sigrok-cli/Config.in
Normal file
21
buildroot/package/sigrok-cli/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_SIGROK_CLI
|
||||
bool "sigrok-cli"
|
||||
# libsigrok->libglib2:
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
# libsigrok->libzip
|
||||
depends on !BR2_STATIC_LIBS
|
||||
# libsigrok
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
select BR2_PACKAGE_LIBSIGROK
|
||||
help
|
||||
Sigrok-cli is a command-line frontend for the sigrok
|
||||
software suite.
|
||||
|
||||
http://sigrok.org/wiki/Sigrok-cli
|
||||
|
||||
comment "sigrok-cli needs a toolchain w/ wchar, threads, dynamic library, gcc >= 4.7"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || BR2_STATIC_LIBS
|
||||
2
buildroot/package/sigrok-cli/sigrok-cli.hash
Normal file
2
buildroot/package/sigrok-cli/sigrok-cli.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 5669d968c2de3dfc6adfda76e83789b6ba76368407c832438cef5e7099a65e1c sigrok-cli-0.7.0.tar.gz
|
||||
20
buildroot/package/sigrok-cli/sigrok-cli.mk
Normal file
20
buildroot/package/sigrok-cli/sigrok-cli.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# sigrok-cli
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SIGROK_CLI_VERSION = 0.7.0
|
||||
SIGROK_CLI_SITE = http://sigrok.org/download/source/sigrok-cli
|
||||
SIGROK_CLI_LICENSE = GPL-3.0+
|
||||
SIGROK_CLI_LICENSE_FILES = COPYING
|
||||
SIGROK_CLI_DEPENDENCIES = host-pkgconf libsigrok
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y)
|
||||
SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode
|
||||
SIGROK_CLI_DEPENDENCIES += libsigrokdecode
|
||||
else
|
||||
SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode=NO
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user