projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Place -lusb-1.0 as the last of the linker options
[fw/stlink]
/
flash
/
Makefile
diff --git
a/flash/Makefile
b/flash/Makefile
index 8a30b4113a6bcebf88951810e7d83129e45f4f7d..9fa67435c4b163afed58e5e11c2a0dce4d9bb86d 100644
(file)
--- a/
flash/Makefile
+++ b/
flash/Makefile
@@
-12,7
+12,7
@@
CFLAGS+=-std=gnu99
CFLAGS+=-Wall -Wextra
CFLAGS+=-I../src
CFLAGS+=-Wall -Wextra
CFLAGS+=-I../src
-LDFLAGS=-
lusb-1.0 -L.. -lstlink
+LDFLAGS=-
L.. -lstlink -lusb-1.0
ifeq ($(CONFIG_USE_LIBSG),)
CONFIG_USE_LIBSG=1
ifeq ($(CONFIG_USE_LIBSG),)
CONFIG_USE_LIBSG=1