]> git.gag.com Git - fw/stlink/commitdiff
Finish removing sg-utils dependencies.
authorKarl Palsson <karlp@remake.is>
Fri, 11 Nov 2011 15:38:09 +0000 (15:38 +0000)
committerKarl Palsson <karlp@remake.is>
Fri, 11 Nov 2011 15:38:09 +0000 (15:38 +0000)
The code deps were removed, but the flags stayed in some makefiles.

flash/Makefile
gdbserver/Makefile

index 8a30b4113a6bcebf88951810e7d83129e45f4f7d..6e1675422f063dab041a582cd964378ad069083e 100644 (file)
@@ -1,10 +1,3 @@
-# make ... for both libusb and libsg
-#
-# make CONFIG_USE_LIBSG=0 ...
-# for just libusb
-#
-CC=gcc
-
 CFLAGS+=-g
 CFLAGS+=-DCONFIG_USE_LIBUSB=1
 CFLAGS+=-DDEBUG
@@ -14,15 +7,6 @@ CFLAGS+=-I../src
 
 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
-
 SRCS=main.c
 OBJS=$(SRCS:.c=.o)
 
index a8d1b90aa3b35dda5ba88637e1b65ddb51a9c798..e73103dfbb58c67fb0ea4f696e32c92fd9d5c00a 100644 (file)
@@ -1,9 +1,3 @@
-# make ... for both libusb and libsg
-#
-# make CONFIG_USE_LIBSG=0 ...
-# for just libusb
-#
-
 PRG := st-util
 OBJS = gdb-remote.o gdb-server.o
 
@@ -11,15 +5,6 @@ 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
-
 all: $(PRG)
 
 $(PRG): $(OBJS)