Commit 57c61e9
Makefile: add platform-specific default mass-storage-gadget directory
Move the default mass-storage-gadget64 directory path from a hardcoded
value in main.c to a build-time configurable variable in the Makefile.
On Windows, this defaults to the standard installation path used by the
Windows installer. On Unix systems, the behavior remains unchanged.
This allows rpiboot to be invoked without the -d parameter on Windows.
Fixes: #342
Signed-off-by: Nicolai Buchwitz <[email protected]>1 parent 6d692c9 commit 57c61e9
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | | - | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
0 commit comments