projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7631387
)
mw_debug: Link urjtag statically
author
Matt Johnston
<matt@codeconstruct.com.au>
Fri, 4 Feb 2022 06:40:42 +0000
(14:40 +0800)
committer
Matt Johnston
<matt@codeconstruct.com.au>
Fri, 4 Feb 2022 08:09:28 +0000
(16:09 +0800)
liburjtag isn't in Debian, so usually we're pointing at a urjtag
build directory when building mw_debug
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
scripts/mw_debug/Makefile
patch
|
blob
|
history
diff --git
a/scripts/mw_debug/Makefile
b/scripts/mw_debug/Makefile
index a669e74a2f405f259b98dca0b65ee8038b72c9d6..e35fffa6af57e4df80a24baa832f5d43289f6b8f 100644
(file)
--- a/
scripts/mw_debug/Makefile
+++ b/
scripts/mw_debug/Makefile
@@
-4,7
+4,7
@@
CFLAGS = -O2 -g -Wall -std=c99
all: mw_debug
mw_debug: mw_debug.c
- $(CC) -o $@ $^ $(CFLAGS) -
lurjtag
+ $(CC) -o $@ $^ $(CFLAGS) -
Wl,-Bstatic -lurjtag -Wl,-Bdynamic -lftdi1 -lusb-1.0 -lreadline
clean:
rm -f mw_debug