Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
From 082c9e4cb6c8f96aa59dd3d03b0288752518fad7 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sat, 19 Feb 2022 22:29:45 +0100
Subject: [PATCH] Makefile.am: respect $(DESTDIR) with install-udev-rules
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://github.com/steve-m/librtlsdr/pull/67]
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 65b2f21..6b8691a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,10 +14,10 @@ dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version
install-udev-rules:
- $(INSTALL_DATA) rtl-sdr.rules /etc/udev/rules.d
+ $(INSTALL_DATA) rtl-sdr.rules $(DESTDIR)/etc/udev/rules.d
uninstall-udev-rules:
- rm -rf /etc/udev/rules.d/rtl-sdr.rules
+ rm -rf $(DESTDIR)/etc/udev/rules.d/rtl-sdr.rules
EXTRA_DIST = git-version-gen .version
--
2.34.1

View File

@@ -0,0 +1,34 @@
config BR2_PACKAGE_LIBRTLSDR
bool "librtlsdr"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
select BR2_PACKAGE_LIBUSB
help
Library and command line programs for accessing
RTL2832U SDR dongles.
http://sdr.osmocom.org/trac/wiki/rtl-sdr/
if BR2_PACKAGE_LIBRTLSDR
config BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER
bool "Detach kernel driver"
default y
help
Enable this option if you would like librtlsdr to
automatically detach any kernel driver associated to the
RTL2832U USB device on startup if one is loaded.
config BR2_PACKAGE_LIBRTLSDR_ZEROCOPY
bool "Enable usbfs zero-copy support"
default y
help
This option allows to use kernel usbfs mmap instead
of buffers in userspace. If you experiment crash with
kernel < 5.6, disable this option.
endif
comment "librtlsdr needs a toolchain w/ threads, gcc >= 4.9"
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

View File

@@ -0,0 +1,4 @@
# Locally calculated
sha256 f09ff5ba2fa1780071321ba22885b9d1a16ac9d4b944a97e39b6921960439301 librtlsdr-ed0317e6a58c098874ac58b769cf2e609c18d9a5.tar.gz
# License file, locally calculated
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING

View File

@@ -0,0 +1,33 @@
################################################################################
#
# librtlsdr
#
################################################################################
LIBRTLSDR_VERSION = ed0317e6a58c098874ac58b769cf2e609c18d9a5
LIBRTLSDR_SITE = $(call github,steve-m,librtlsdr,$(LIBRTLSDR_VERSION))
LIBRTLSDR_LICENSE = GPL-2.0+
LIBRTLSDR_LICENSE_FILES = COPYING
LIBRTLSDR_INSTALL_STAGING = YES
# From git
LIBRTLSDR_AUTORECONF = YES
LIBRTLSDR_DEPENDENCIES = host-pkgconf libusb
LIBRTLSDR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
LIBRTLSDR_INSTALL_TARGET_OPTS += install-udev-rules
endif
ifeq ($(BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER),y)
LIBRTLSDR_CONF_OPTS += --enable-driver-detach
else
LIBRTLSDR_CONF_OPTS += --disable-driver-detach
endif
ifeq ($(BR2_PACKAGE_LIBRTLSDR_ZEROCOPY),y)
LIBRTLSDR_CONF_OPTS += --enable-zerocopy
else
LIBRTLSDR_CONF_OPTS += --disable-zerocopy
endif
$(eval $(autotools-package))