projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only call strtoul when there is an argument that strtoul can work on
[fw/stlink]
/
gdbserver
/
Makefile
diff --git
a/gdbserver/Makefile
b/gdbserver/Makefile
index a8d1b90aa3b35dda5ba88637e1b65ddb51a9c798..c81ea52b84fdcfaa3cb8ebaefca17b06c03b0d71 100644
(file)
--- a/
gdbserver/Makefile
+++ b/
gdbserver/Makefile
@@
-1,24
+1,8
@@
-# make ... for both libusb and libsg
-#
-# make CONFIG_USE_LIBSG=0 ...
-# for just libusb
-#
-
PRG := st-util
OBJS = gdb-remote.o gdb-server.o
CFLAGS+=-g -Wall -Werror -std=gnu99 -I../src
PRG := st-util
OBJS = gdb-remote.o gdb-server.o
CFLAGS+=-g -Wall -Werror -std=gnu99 -I../src
-CFLAGS+=-DCONFIG_USE_LIBUSB=1
-LDFLAGS=-lusb-1.0 -L.. -lstlink
-
-ifeq ($(CONFIG_USE_LIBSG),)
-CONFIG_USE_LIBSG=1
-endif
-
-ifneq ($(CONFIG_USE_LIBSG),0)
-CFLAGS+=-DCONFIG_USE_LIBSG=1
-LDFLAGS+=-lsgutils2
-endif
+LDFLAGS=-L.. -lstlink -lusb-1.0
all: $(PRG)
all: $(PRG)