Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Finish removing sg-utils dependencies.

The code deps were removed, but the flags stayed in some makefiles.
  • Loading branch information...
commit e9a205ff98bea6a3a902352711a3980ccd4518be 1 parent 5ac2c52
@karlp karlp authored
Showing with 0 additions and 31 deletions.
  1. +0 −16 flash/Makefile
  2. +0 −15 gdbserver/Makefile
View
16 flash/Makefile
@@ -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)
View
15 gdbserver/Makefile
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.