Removed tools/gdb from "make all" target. Added make target "gdbtools"
in toplevel directory instead. Removed astest.c from tools/gdb because it is no longer relevant.
This commit is contained in:
@@ -25,12 +25,7 @@ include $(TOPDIR)/config.mk
|
||||
|
||||
BINS = gdbsend gdbcont
|
||||
|
||||
ifneq ($(HOSTOS),HP-UX)
|
||||
BINS+= astest
|
||||
endif
|
||||
|
||||
|
||||
OBJS = gdbsend.o gdbcont.o astest.o error.o remote.o serial.o
|
||||
OBJS = gdbsend.o gdbcont.o error.o remote.o serial.o
|
||||
|
||||
#
|
||||
# Use native tools and options
|
||||
@@ -57,9 +52,6 @@ gdbsend: gdbsend.o error.o remote.o serial.o
|
||||
gdbcont: gdbcont.o error.o remote.o serial.o
|
||||
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
|
||||
|
||||
astest: astest.o error.o
|
||||
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ -L$(BFD_ROOT_DIR)/lib -lbfd -liberty
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user