Package: bladerf / 0.2017.12~rc1-2

0004-host-misc-arch-update-destdir-for-file-search-paths.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 18568ab51db930044d90b18c11353decbc28d20d Mon Sep 17 00:00:00 2001
From: Rey Tucker <rey.tucker@nuand.com>
Date: Fri, 8 Dec 2017 13:31:20 -0500
Subject: [PATCH 04/15] host: misc/arch: update destdir for file search paths

file_ops.c looks in /usr/share/Nuand/bladeRF, so if we put the files
there, it can auto-load.
---
 host/misc/arch/bladerf-util-git/PKGBUILD | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/host/misc/arch/bladerf-util-git/PKGBUILD b/host/misc/arch/bladerf-util-git/PKGBUILD
index d791e152..1b22202f 100644
--- a/host/misc/arch/bladerf-util-git/PKGBUILD
+++ b/host/misc/arch/bladerf-util-git/PKGBUILD
@@ -63,11 +63,11 @@ package() {
 
   cd "$srcdir/$_gitname-build/host"
   make DESTDIR=$pkgdir install
-  mkdir -p $pkgdir/usr/share/bladerf/fpga
-  mkdir $pkgdir/usr/share/bladerf/firmware
-  cp $srcdir/bladeRF_fw_v2.0.0.img $pkgdir/usr/share/bladerf/firmware/bladeRF_fw.img
-  cp $srcdir/hostedx40.rbf $pkgdir/usr/share/bladerf/fpga/
-  cp $srcdir/hostedx115.rbf $pkgdir/usr/share/bladerf/fpga/
-  cp $srcdir/$_gitname-build/COPYING $pkgdir/usr/share/bladerf/LICENSE
+  mkdir -p $pkgdir/usr/share/Nuand/bladeRF/fpga
+  mkdir $pkgdir/usr/share/Nuand/bladeRF/firmware
+  cp $srcdir/bladeRF_fw_v2.0.0.img $pkgdir/usr/share/Nuand/bladeRF/firmware/bladeRF_fw.img
+  cp $srcdir/hostedx40.rbf $pkgdir/usr/share/Nuand/bladeRF/fpga/
+  cp $srcdir/hostedx115.rbf $pkgdir/usr/share/Nuand/bladeRF/fpga/
+  cp $srcdir/$_gitname-build/COPYING $pkgdir/usr/share/Nuand/bladeRF/LICENSE
 }
 
-- 
2.11.0