Skip to content

Commit 7a8c66e

Browse files
committed
chore(dfu-util): kept only dfu-util 64 bits for linux
Signed-off-by: Frederic Pillon <[email protected]>
1 parent c49f625 commit 7a8c66e

File tree

7 files changed

+2
-6
lines changed

7 files changed

+2
-6
lines changed

dfu-util.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -
22
#
3-
# Use the correct dfu-util program based on the architecture
3+
# Use the correct dfu-util program based on the host
44
#
55

66
# Get the directory where the script is running.
@@ -9,11 +9,7 @@ UNAME_OS="$(uname -s)"
99
case "${UNAME_OS}" in
1010
Linux*)
1111
# Choose dfu program by arch
12-
if [ "$(uname -m)" = "x86_64" ]; then
13-
DFU_UTIL=${DIR}/linux/dfu-util_x86_64/dfu-util
14-
else
15-
DFU_UTIL=${DIR}/linux/dfu-util/dfu-util
16-
fi
12+
DFU_UTIL=${DIR}/linux/dfu-util/dfu-util
1713
;;
1814
Darwin*)
1915
DFU_UTIL=${DIR}/macosx/dfu-util/dfu-util

linux/dfu-util/dfu-prefix

15 KB
Binary file not shown.

linux/dfu-util/dfu-suffix

14.8 KB
Binary file not shown.

linux/dfu-util/dfu-util

35.3 KB
Binary file not shown.

linux/dfu-util_x86_64/dfu-prefix

-45.9 KB
Binary file not shown.

linux/dfu-util_x86_64/dfu-suffix

-46 KB
Binary file not shown.

linux/dfu-util_x86_64/dfu-util

-148 KB
Binary file not shown.

0 commit comments

Comments
 (0)