summaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/gdb.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-11-19 13:37:59 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-19 13:37:59 +0100
commit0826a822b9519fbd5aebf9f7d12d88832b3ddb22 (patch)
treed1624eb3ed76a9f636d31cfc8b26988fbeee1e3c /toolchain/gdb/gdb.mk
parente5edc7338175f8cbbf2d90c5d6be7ccc39bd94e2 (diff)
downloadbuildroot-novena-0826a822b9519fbd5aebf9f7d12d88832b3ddb22.tar.gz
buildroot-novena-0826a822b9519fbd5aebf9f7d12d88832b3ddb22.zip
gdb: add source targets for gdbserver/gdbhost
So it gets handled by make source / external-deps Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gdb/gdb.mk')
-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 54c390597..af08d1ee3 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