]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Removed tools/gdb from "make all" target. Added make target "gdbtools"
authordzu <dzu>
Thu, 7 Aug 2003 14:20:31 +0000 (14:20 +0000)
committerdzu <dzu>
Thu, 7 Aug 2003 14:20:31 +0000 (14:20 +0000)
in toplevel directory instead.  Removed astest.c from tools/gdb because
it is no longer relevant.

Makefile
tools/Makefile
tools/gdb/Makefile

index c4bb10c2cf886c668c30e525f0e204fbf5878450..249a067f8c4f96b7b23d2771b136c734346b0363 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -148,6 +148,9 @@ u-boot:             depend subdirs $(OBJS) $(LIBS) $(LDSCRIPT)
 subdirs:
                @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir || exit 1 ; done
 
+gdbtools:
+               $(MAKE) -C tools/gdb || exit 1
+
 depend dep:
                @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done
 
index de6f7ddcfadd7568e9299ae31397e15186224279..ac35ee3c2d473cc5f556c02efed781d21f17c53f 100644 (file)
@@ -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 =
index 1b6639014fab48a695e79cebb00bf25a5a07299b..faff12012f77b32a9d7e224f5e6e8c743767c0a3 100644 (file)
@@ -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)