summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-14 13:01:18 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-14 13:01:18 +0200
commit07dec6af07074b77165d8eb18c9086e7de4b1386 (patch)
tree6501e91a761c4a6df4b7cdad5a6b4c0b50cda4f6 /toolchain/Makefile
parent1472c499c814bf037a4ebc167fccf4b4cc3ff514 (diff)
install gdb when chosen
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r--toolchain/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index fd92b46f7..ed5f2652c 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -49,7 +49,11 @@ endif
gcc-configure: $(LIBC)-prepare
$(LIBC)-compile: gcc-configure
gcc-compile: $(LIBC)-install
+ifeq ($(ADK_TOOLCHAIN_GDB),y)
+$(LIBC)-fixup: gdb-install
+else
$(LIBC)-fixup: gcc-install
+endif
$(STAGING_HOST_DIR):
@mkdir -p $(STAGING_HOST_DIR)/lib