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 7b24b9a4c..b1aaac653 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -56,7 +56,11 @@ download: $(DOWNLOAD)
final: $(FINAL)
gcc-configure: binutils-install gmp-install mpfr-install mpc-install libelf-install
+ifeq ($(ADK_TARGET_LIB_NEWLIB),y)
+$(CLIB)-install: gcc-configure
+else
$(CLIB)-install: gcc-configure kernel-headers-configure
+endif
gcc-install: $(ELF2FLT) $(CLIB)-install
gcc-final: gcc-install $(GDB)