Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
From 83bf4762e42a4d4a5c077f48d8f5715c9147d9b8 Mon Sep 17 00:00:00 2001
|
||||
From: Aurelien Jacobs <aurel@gnuage.org>
|
||||
Date: Mon, 1 Feb 2016 22:37:36 +0100
|
||||
Subject: [PATCH] beaglelogic: use standard # operator instead of ugly __STRING
|
||||
macro
|
||||
|
||||
Also note that the __ namespace is reserved by POSIX for its private
|
||||
usage, so user land software should never rely on any kind of API
|
||||
with a __ prefix.
|
||||
|
||||
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
Patch downloaded from upstream git:
|
||||
http://sigrok.org/gitweb/?p=libsigrok.git;a=commit;h=83bf4762e42a4d4a5c077f48d8f5715c9147d9b8
|
||||
|
||||
src/hardware/beaglelogic/beaglelogic.h | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/hardware/beaglelogic/beaglelogic.h b/src/hardware/beaglelogic/beaglelogic.h
|
||||
index 9015c61..96713ba 100644
|
||||
--- a/src/hardware/beaglelogic/beaglelogic.h
|
||||
+++ b/src/hardware/beaglelogic/beaglelogic.h
|
||||
@@ -30,8 +30,7 @@
|
||||
|
||||
/* BeagleLogic device node name */
|
||||
#define BEAGLELOGIC_DEV_NODE "/dev/beaglelogic"
|
||||
-#define BEAGLELOGIC_SYSFS_ATTR(a) "/sys/devices/virtual/misc/beaglelogic/"\
|
||||
- __STRING(a)
|
||||
+#define BEAGLELOGIC_SYSFS_ATTR(a) "/sys/devices/virtual/misc/beaglelogic/" #a
|
||||
|
||||
/* Reproduced verbatim from beaglelogic.h in the kernel tree until the kernel
|
||||
* module hits the mainline. Contains the ABI, so DO NOT TOUCH this section */
|
||||
--
|
||||
2.6.2
|
||||
|
||||
39
deprecated/firmware/buildroot/package/libsigrok/Config.in
Normal file
39
deprecated/firmware/buildroot/package/libsigrok/Config.in
Normal file
@@ -0,0 +1,39 @@
|
||||
config BR2_PACKAGE_LIBSIGROK
|
||||
bool "libsigrok"
|
||||
select BR2_PACKAGE_LIBZIP
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
# libglib2
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
# std=c11
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
help
|
||||
Libsigrok is a shared library written in C, which provides
|
||||
the basic hardware access drivers for logic analyzers and
|
||||
other supported devices, as well as input/output file format
|
||||
support.
|
||||
|
||||
This library is a part of the sigrok software suite.
|
||||
|
||||
http://sigrok.org/wiki/Libsigrok
|
||||
|
||||
if BR2_PACKAGE_LIBSIGROK
|
||||
|
||||
config BR2_PACKAGE_LIBSIGROKCXX
|
||||
bool "build C++ bindings"
|
||||
select BR2_PACKAGE_GLIBMM
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # glibmm
|
||||
help
|
||||
Build libsigrok C++ bindings as well.
|
||||
|
||||
comment "C++ bindings need a toolchain w/ C++, gcc >= 4.8"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
|
||||
endif
|
||||
|
||||
comment "libsigrok needs a toolchain w/ wchar, threads, gcc >= 4.7"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 5f291f3fee36e6dab1336f1c78596e50588831bc5ebd7cddc2a95fe8c71d669e libsigrok-0.4.0.tar.gz
|
||||
52
deprecated/firmware/buildroot/package/libsigrok/libsigrok.mk
Normal file
52
deprecated/firmware/buildroot/package/libsigrok/libsigrok.mk
Normal file
@@ -0,0 +1,52 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsigrok
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSIGROK_VERSION = 0.4.0
|
||||
LIBSIGROK_SITE = http://sigrok.org/download/source/libsigrok
|
||||
LIBSIGROK_LICENSE = GPLv3+
|
||||
LIBSIGROK_LICENSE_FILES = COPYING
|
||||
LIBSIGROK_INSTALL_STAGING = YES
|
||||
LIBSIGROK_DEPENDENCIES = libglib2 libzip host-pkgconf
|
||||
LIBSIGROK_CONF_OPTS = --disable-glibtest --disable-java --disable-python
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSERIALPORT),y)
|
||||
LIBSIGROK_CONF_OPTS += --enable-libserialport
|
||||
LIBSIGROK_DEPENDENCIES += libserialport
|
||||
else
|
||||
LIBSIGROK_CONF_OPTS += --disable-libserialport
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFTDI),y)
|
||||
LIBSIGROK_CONF_OPTS += --enable-libftdi
|
||||
LIBSIGROK_DEPENDENCIES += libftdi
|
||||
else
|
||||
LIBSIGROK_CONF_OPTS += --disable-libftdi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
LIBSIGROK_CONF_OPTS += --enable-libusb
|
||||
LIBSIGROK_DEPENDENCIES += libusb
|
||||
else
|
||||
LIBSIGROK_CONF_OPTS += --disable-libusb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GLIBMM),y)
|
||||
LIBSIGROK_DEPENDENCIES += glibmm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSIGROKCXX),y)
|
||||
LIBSIGROK_CONF_OPTS += --enable-cxx
|
||||
LIBSIGROK_AUTORECONF_OPTS += -I $(HOST_DIR)/usr/share/autoconf-archive
|
||||
LIBSIGROK_DEPENDENCIES += \
|
||||
host-autoconf-archive \
|
||||
glibmm \
|
||||
host-doxygen \
|
||||
$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
|
||||
else
|
||||
LIBSIGROK_CONF_OPTS += --disable-cxx
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user