summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-05 07:58:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-05 07:58:08 +0100
commit8abe85c5a6920e3cea42c75193d22669285b84c7 (patch)
tree6985f1e5342581bccc8820424228195604dab923 /toolchain/Makefile
parentb43e909de4cbeb1393db9116296b4683d0ae25d7 (diff)
parentc5ad4bdcdb9f3e0591e8943fe8b5302b76637b71 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r--toolchain/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index be4f38e07..b61133b28 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -4,12 +4,14 @@
# Steps to build toolchains
# 1) build and install binutils
# 2) build and install mpfr, mpc, libelf and gmp
-# 3) build and install gcc c compiler
+# 3) build and install minimal gcc c compiler
# 4) install kernel-headers
# 5) install libc headers
-# 6) build and install full gcc
+# 6) build and install initial static gcc
# 7) build and install full libc
-# 8) build and install gdb debugger
+# 8) build and install full shared gcc
+# 9) rebuild and install full libc (in case of musl)
+# 10) build and install gdb debugger
include $(TOPDIR)/rules.mk
@@ -50,7 +52,7 @@ gcc-configure: $(LIBC)-prepare
$(LIBC)-compile: gcc-configure
gcc-compile: $(LIBC)-install
ifeq ($(ADK_TOOLCHAIN_GDB),y)
-$(LIBC)-fixup: gdb-install
+$(LIBC)-fixup: gcc-install gdb-install
else
$(LIBC)-fixup: gcc-install
endif