summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-07-13 16:36:06 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-08-10 13:32:26 +0200
commitb4bce8e93e2808eaa86df9542832d0b1c6e40b4e (patch)
tree2f77b605139147684b4fc3e5d3681e07fe19df7f
parent624a6807fd667647a704ffa3586bdd3aafaa1845 (diff)
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.
Gbp-Pq: Name 02_fix_missing_dfu.patch
-rw-r--r--firmware/common.mk3
1 files changed, 2 insertions, 1 deletions
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