mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From 85bf9cd32138539252ed01c355cf766612cf47c9 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Cercueil <paul@crapouillou.net>
|
||||
Date: Thu, 2 Sep 2021 11:04:21 +0100
|
||||
Subject: [PATCH] C#: public fields with getters/setters cannot be marked
|
||||
readonly
|
||||
|
||||
MSVC would fail with the following error:
|
||||
error CS0106: The modifier 'readonly' is not valid for this item
|
||||
|
||||
Reported-by: Raluca Chis <raluca.chis@analog.com>
|
||||
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/analogdevicesinc/libiio/commit/85bf9cd32138539252ed01c355cf766612cf47c9]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
bindings/csharp/Device.cs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bindings/csharp/Device.cs b/bindings/csharp/Device.cs
|
||||
index 96214243f..6c8c8f4f3 100644
|
||||
--- a/bindings/csharp/Device.cs
|
||||
+++ b/bindings/csharp/Device.cs
|
||||
@@ -208,7 +208,7 @@ public override void write(string str)
|
||||
public readonly string name;
|
||||
|
||||
/// <summary>The label of this device.</summary>
|
||||
- public readonly string label { get; private set; }
|
||||
+ public string label { get; private set; }
|
||||
|
||||
/// <summary>A <c>list</c> of all the attributes that this device has.</summary>
|
||||
public readonly List<Attr> attrs;
|
||||
@@ -32,14 +32,16 @@ config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
|
||||
config BR2_PACKAGE_LIBIIO_USB_BACKEND
|
||||
bool "USB backend"
|
||||
default y
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBIIO_XML_BACKEND
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable the USB backend of the library.
|
||||
|
||||
comment "The USB backend needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
comment "The USB backend needs a toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_PACKAGE_LIBIIO_SERIAL_BACKEND
|
||||
bool "Serial backend"
|
||||
@@ -89,7 +91,7 @@ config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP
|
||||
|
||||
config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON
|
||||
bool "Install Python bindings"
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
Install the Python bindings.
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 81c414d5c47b715d9bc9275b9fabbfd9e9483e60c035f3001b5977932049595d libiio-0.19.tar.gz
|
||||
sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b COPYING.txt
|
||||
sha256 df1577740ea93dca732e7d7c04786600cb083117901dee793f3d38980754af00 libiio-0.23.tar.gz
|
||||
sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b COPYING.txt
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBIIO_VERSION = 0.19
|
||||
LIBIIO_VERSION = 0.23
|
||||
LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION))
|
||||
LIBIIO_INSTALL_STAGING = YES
|
||||
LIBIIO_LICENSE = LGPL-2.1+
|
||||
@@ -13,12 +13,16 @@ LIBIIO_LICENSE_FILES = COPYING.txt
|
||||
LIBIIO_CONF_OPTS = -DENABLE_IPV6=ON \
|
||||
-DWITH_LOCAL_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_LOCAL_BACKEND),ON,OFF) \
|
||||
-DWITH_NETWORK_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_NETWORK_BACKEND),ON,OFF) \
|
||||
-DWITH_MATLAB_BINDINGS_API=OFF \
|
||||
-DMATLAB_BINDINGS=OFF \
|
||||
-DINSTALL_UDEV_RULE=$(if $(BR2_PACKAGE_HAS_UDEV),ON,OFF) \
|
||||
-DWITH_TESTS=$(if $(BR2_PACKAGE_LIBIIO_TESTS),ON,OFF) \
|
||||
-DWITH_DOC=OFF
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBIIO_CONF_OPTS += -DNO_THREADS=OFF
|
||||
else
|
||||
LIBIIO_CONF_OPTS += -DNO_THREADS=ON
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBIIO_XML_BACKEND),y)
|
||||
LIBIIO_DEPENDENCIES += libxml2
|
||||
LIBIIO_CONF_OPTS += -DWITH_XML_BACKEND=ON
|
||||
@@ -54,18 +58,25 @@ else
|
||||
LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF
|
||||
endif
|
||||
|
||||
# Avahi support in libiio requires avahi-client, which needs avahi-daemon and dbus
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
|
||||
ifeq ($(BR2_PACKAGE_LIBAIO),y)
|
||||
LIBIIO_DEPENDENCIES += libaio
|
||||
LIBIIO_CONF_OPTS += -DWITH_AIO=ON
|
||||
else
|
||||
LIBIIO_CONF_OPTS += -DWITH_AIO=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
|
||||
LIBIIO_DEPENDENCIES += avahi
|
||||
LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=ON
|
||||
else
|
||||
LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y)
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
LIBIIO_DEPENDENCIES += python
|
||||
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
LIBIIO_DEPENDENCIES += python3
|
||||
endif
|
||||
LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=ON
|
||||
LIBIIO_DEPENDENCIES += host-python-setuptools python3
|
||||
LIBIIO_CONF_OPTS += \
|
||||
-DPYTHON_BINDINGS=ON \
|
||||
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3
|
||||
else
|
||||
LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=OFF
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user