Browse Source

install gdb when chosen

Waldemar Brodkorb 11 years ago
parent
commit
07dec6af07
1 changed files with 4 additions and 0 deletions
  1. 4 0
      toolchain/Makefile

+ 4 - 0
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