diff options
Diffstat (limited to 'toolchain/Makefile')
| -rw-r--r-- | toolchain/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile index 2c424ed7d..d2f59f8ba 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -7,7 +7,7 @@ # 3) build and install gcc c compiler # 4) install kernel-headers # 5) install libc headers -# 6) build and install full gcc +# 6) build and install full gcc # 7) build and install full libc # 8) build and install gdb debugger @@ -15,7 +15,7 @@ include $(TOPDIR)/rules.mk TARGETS:=binutils gmp mpfr gcc ifeq ($(ADK_TARGET_LIB_GLIBC),y) -TARGETS+=glibc +TARGETS+=glibc-ports glibc LIBC:=glibc endif ifeq ($(ADK_TARGET_LIB_EGLIBC),y) @@ -38,7 +38,11 @@ clean: $(TARGETS_CLEAN) download: $(DOWNLOAD) gcc-prepare: binutils-install gmp-install mpfr-install -$(LIBC)-prepare: gcc-prepare kernel-headers-prepare +ifeq ($(ADK_TARGET_LIB_GLIBC),y) +$(LIBC)-prepare: gcc-prepare kernel-headers-prepare glibc-ports-prepare +else +$(LIBC)-prepare: gcc-prepare kernel-headers-prepare +endif gcc-configure: $(LIBC)-prepare $(LIBC)-compile: gcc-configure gcc-compile: $(LIBC)-install |
