File: 02_fix_missing_dfu.patch

package info (click to toggle)
ubertooth 2018.12.R1-5.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,320 kB
  • sloc: ansic: 18,653; cpp: 2,549; python: 604; makefile: 474; asm: 113; perl: 86; sh: 63; ruby: 43; xml: 20
file content (25 lines) | stat: -rw-r--r-- 876 bytes parent folder | download | duplicates (5)
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
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Fri, 13 Jul 2018 16:36:06 +0200
Subject: Fixes problem with ubertooth-dfu not found. The install script
 assumes that ubertooth-dfu is already in the path. It is not when building
 the deb package,
 but it is available from a relative path since it has already been built.

---
 firmware/common.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/firmware/common.mk b/firmware/common.mk
index f3deef4..e6b6245 100644
--- a/firmware/common.mk
+++ b/firmware/common.mk
@@ -259,7 +259,8 @@ NM = $(CROSS_COMPILE)nm
 REMOVE = rm -f
 
 # DFU tool should be ubertooth-dfu
-DFU_TOOL ?= $(strip $(shell which ubertooth-dfu))
+#DFU_TOOL ?= $(strip $(shell which ubertooth-dfu))
+DFU_TOOL = ../../obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)/ubertooth-tools/src/ubertooth-dfu
 
 # Define Messages
 # English