summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordzu <dzu>2003-08-07 14:20:31 +0000
committerdzu <dzu>2003-08-07 14:20:31 +0000
commit8f713fdfeb3bde6fe89dfb300f22cae9778e35eb (patch)
tree9298aff917d63f8d218460148f0508674b981049 /tools
parent96e48cf6c14319f87b38a1d3b6ec9139c9d0469d (diff)
downloadu-boot-imx-8f713fdfeb3bde6fe89dfb300f22cae9778e35eb.zip
u-boot-imx-8f713fdfeb3bde6fe89dfb300f22cae9778e35eb.tar.gz
u-boot-imx-8f713fdfeb3bde6fe89dfb300f22cae9778e35eb.tar.bz2
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.
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile8
-rw-r--r--tools/gdb/Makefile10
2 files changed, 2 insertions, 16 deletions
diff --git a/tools/Makefile b/tools/Makefile
index de6f7dd..ac35ee3 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,5 +1,5 @@
#
-# (C) Copyright 2000, 2001
+# (C) Copyright 2000-2003
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# See file CREDITS for list of people who contributed to this
@@ -65,16 +65,11 @@ TOOLSUBDIRS =
# -multiply_defined suppress option to turn off this error.
#
ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
-TOOLSUBDIRS+= gdb
HOST_CFLAGS = -traditional-cpp -Wall
HOST_LDFLAGS =-multiply_defined suppress
HOST_ENVIRO_CFLAGS = -traditional-cpp
else
-#
-# The gdb tools won't build natively on NetBSD since bfd.h (and ansidecl.h)
-# are not installed -- just skip them, they are not really essential.
-#
ifeq ($(HOSTOS)-$(HOSTARCH),netbsd-ppc)
HOST_CFLAGS = -Wall -pedantic
HOST_LDFLAGS =
@@ -84,7 +79,6 @@ HOST_ENVIRO_CFLAGS =
# Everyone else
#
else
-TOOLSUBDIRS+= gdb
HOST_CFLAGS = -Wall -pedantic
HOST_LDFLAGS =
HOST_ENVIRO_CFLAGS =
diff --git a/tools/gdb/Makefile b/tools/gdb/Makefile
index 1b66390..faff120 100644
--- a/tools/gdb/Makefile
+++ b/tools/gdb/Makefile
@@ -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)