summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-11-19 12:37:59 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-11-19 12:37:59 (GMT)
commit0826a822b9519fbd5aebf9f7d12d88832b3ddb22 (patch)
treed1624eb3ed76a9f636d31cfc8b26988fbeee1e3c
parente5edc7338175f8cbbf2d90c5d6be7ccc39bd94e2 (diff)
downloadbuildroot-0826a822b9519fbd5aebf9f7d12d88832b3ddb22.tar.gz
buildroot-0826a822b9519fbd5aebf9f7d12d88832b3ddb22.tar.bz2
gdb: add source targets for gdbserver/gdbhost
So it gets handled by make source / external-deps Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/gdb/gdb.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk
index 54c3905..af08d1e 100644
--- a/toolchain/gdb/gdb.mk
+++ b/toolchain/gdb/gdb.mk
@@ -162,6 +162,8 @@ endif
gdbserver: $(TARGET_DIR)/usr/bin/gdbserver
+gdbserver-source: $(DL_DIR)/$(GDB_SOURCE)
+
gdbserver-clean:
-$(MAKE) -C $(GDB_SERVER_DIR) clean
@@ -209,6 +211,8 @@ $(TARGET_CROSS)gdb: $(GDB_HOST_DIR)/gdb/gdb
gdbhost: $(TARGET_CROSS)gdb
+gdbhost-source: $(DL_DIR)/$(GDB_SOURCE)
+
gdbhost-clean:
-$(MAKE) -C $(GDB_HOST_DIR) clean