kumquat-buildroot/package/librtlsdr/0001-Makefile.am-respect-DESTDIR-with-install-udev-rules.patch
Fabrice Fontaine 26a16ed9d8 package/librtlsdr: switch to autotools-package
Switch to autotools-package to avoid the following static build failure
since commit d661740201:

[ 56%] Linking C executable rtl_biast
/home/peko/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: attempted static link of dynamic object `/home/peko/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/libatomic.so'
collect2: error: ld returned 1 exit status

Drop both cmake-related patches

Fixes:
 - http://autobuild.buildroot.org/results/cf84759682848db8ed5610e1abe5a92337d0e957

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-03-24 20:44:13 +01:00

32 lines
925 B
Diff

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