diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-20 20:41:41 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-20 20:41:41 +0200 |
commit | 70c44baa23fbf86a888f6f37a75bca10a631a01c (patch) | |
tree | cf5d557fddf53ddb4851a0ae5db68c3ff9f5407e /toolchain/Makefile | |
parent | dd35f8739be06beda5a2e2d3f753056cf1fb724a (diff) |
add eglibc support
all three libraries tested with qemu-x86
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r-- | toolchain/Makefile | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile index c492ef339..2c424ed7d 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -1,5 +1,15 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. +# +# Steps to build toolchains +# 1) build and install binutils +# 2) build and install mpfr and gmp +# 3) build and install gcc c compiler +# 4) install kernel-headers +# 5) install libc headers +# 6) build and install full gcc +# 7) build and install full libc +# 8) build and install gdb debugger include $(TOPDIR)/rules.mk @@ -7,7 +17,12 @@ TARGETS:=binutils gmp mpfr gcc ifeq ($(ADK_TARGET_LIB_GLIBC),y) TARGETS+=glibc LIBC:=glibc -else +endif +ifeq ($(ADK_TARGET_LIB_EGLIBC),y) +TARGETS+=eglibc +LIBC:=eglibc +endif +ifeq ($(ADK_TARGET_LIB_UCLIBC),y) TARGETS+=uClibc LIBC:=uClibc endif @@ -22,9 +37,9 @@ install: $(TARGETS_INSTALL) clean: $(TARGETS_CLEAN) download: $(DOWNLOAD) -$(LIBC)-prepare: kernel-headers-prepare -binutils-prepare: $(LIBC)-prepare -gcc-configure: binutils-install gmp-install mpfr-install +gcc-prepare: binutils-install gmp-install mpfr-install +$(LIBC)-prepare: gcc-prepare kernel-headers-prepare +gcc-configure: $(LIBC)-prepare $(LIBC)-compile: gcc-configure gcc-compile: $(LIBC)-install |