Skip to content

Commit 7c99c4a

Browse files
committed
Some refinements in source tree builder
1 parent 5fbc0c1 commit 7c99c4a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ compile.sh
22
dfu-util-*/*
33
dfu-discovery
44
*.o
5-
dfu_util.c
6-
dfuse_mem.c
7-
quirks.c
5+
dfu-util_*.c

compile.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ else
77
echo "Downloading $DFU_UTIL..."
88
curl https://dfu-util.sourceforge.net/releases/$DFU_UTIL.tar.gz -s | tar xz
99

10-
cp dfu-util-0.11/src/dfuse_mem.c .
11-
cp dfu-util-0.11/src/dfu_util.c .
12-
cp dfu-util-0.11/src/quirks.c .
10+
cp dfu-util-0.11/src/dfuse_mem.c dfu-util_dfuse_mem.c
11+
cp dfu-util-0.11/src/dfu_util.c dfu-util_dfu_util.c
12+
cp dfu-util-0.11/src/quirks.c dfu-util_quirks.c
13+
# for some reason quirks.c has the exec flag set
14+
chmod -x dfu-util_quirks.c
1315
fi

0 commit comments

Comments
 (0)