summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
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