瀏覽代碼

install gdb when chosen

Waldemar Brodkorb 11 年之前
父節點
當前提交
07dec6af07
共有 1 個文件被更改,包括 4 次插入0 次删除
  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