diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-26 19:12:00 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-26 19:12:00 +0100 |
commit | 49a2312ba19ddcd7fecc1ac8177cd1ae1346c4cc (patch) | |
tree | 1d9dc20e6d2b987158addd0da286f044eb1d1aee /toolchain | |
parent | 1e14d6284640f07c21d837091c7f87323209b317 (diff) | |
parent | 9e358d94cc283c8022091e67fe3ca0580301a62a (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/eglibc/Makefile | 4 | ||||
-rw-r--r-- | toolchain/eglibc/Makefile.inc | 2 | ||||
-rw-r--r-- | toolchain/gcc/Makefile | 29 | ||||
-rw-r--r-- | toolchain/glibc/Makefile | 4 | ||||
-rw-r--r-- | toolchain/glibc/Makefile.inc | 2 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.4.82/aufs2.patch (renamed from toolchain/kernel-headers/patches/3.4.71/aufs2.patch) | 0 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.4.82/linux-gcc-check.patch (renamed from toolchain/kernel-headers/patches/3.4.71/linux-gcc-check.patch) | 0 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.4.82/microperl.patch (renamed from toolchain/kernel-headers/patches/3.4.71/microperl.patch) | 0 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.4.82/mkpiggy.patch (renamed from toolchain/kernel-headers/patches/3.4.71/mkpiggy.patch) | 0 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.4.82/relocs.patch (renamed from toolchain/kernel-headers/patches/3.4.71/relocs.patch) | 0 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 3 |
11 files changed, 19 insertions, 25 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile index dbccb8866..5ac8e493d 100644 --- a/toolchain/eglibc/Makefile +++ b/toolchain/eglibc/Makefile @@ -21,10 +21,6 @@ TARGET_CFLAGS_LIBC:= $(filter-out -fstack-protector,$(TARGET_CFLAGS_LIBC)) include Makefile.inc include ${TOPDIR}/mk/buildhlp.mk -ifeq ($(ADK_TARGET_NO_FPU),y) -EGLIBC_CONFOPTS+= --without-fp -endif - EGLIBC_BUILD_DIR_INITIAL:= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)-headers EGLIBC_BUILD_DIR_FINAL:= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)-final diff --git a/toolchain/eglibc/Makefile.inc b/toolchain/eglibc/Makefile.inc index abb6879c3..1ac72ef54 100644 --- a/toolchain/eglibc/Makefile.inc +++ b/toolchain/eglibc/Makefile.inc @@ -10,7 +10,7 @@ EGLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \ --without-cvs \ --disable-profile \ --disable-debug \ - --enable-kernel=2.6.0 \ + --enable-kernel=2.6.32 \ --without-gd \ --disable-nscd \ --with-__thread \ diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 32710c9bd..2cd720a63 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -81,24 +81,21 @@ else GCC_CONFOPTS+= --enable-target-optspace endif -ifeq ($(ARCH),mips) -ifeq ($(ADK_TARGET_NO_FPU),y) -GCC_CONFOPTS+= --with-float=soft -else -GCC_CONFOPTS+= --with-float=hard -endif +ifeq ($(ARCH),arm) +GCC_CONFOPTS+= --with-float=$(ADK_TARGET_FLOAT) +GCC_CONFOPTS+= --with-mode=$(ADK_TARGET_ARM_MODE) endif -ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) -GCC_CONFOPTS+= --with-arch=armv6 --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard +ifeq ($(ADK_CPU_ARM926EJ_S),y) +GCC_CONFOPTS+= --with-arch=armv5te --with-tune=arm1176jzf-s endif -ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) -ifeq ($(ADK_LINUX_ARM_WITH_THUMB),y) -GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard --with-mode=thumb -else -GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard --with-mode=arm +ifeq ($(ADK_CPU_ARM1176JZF_S),y) +GCC_CONFOPTS+= --with-arch=armv6 --with-tune=arm1176jzf-s --with-fpu=vfp endif + +ifeq ($(ADK_CPU_CORTEX_A9),y) +GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon endif ifneq ($(ADK_TARGET_ABI),) @@ -209,10 +206,12 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled # fix linking g++ apps with libtool @-test -d $(STAGING_TARGET_DIR)/lib32 && \ cd $(STAGING_TARGET_DIR)/lib32 && \ - ln -sf libstdc++.so.6.0.17 libstdc++.so + ln -sf libstdc++.so.6.0.17 libstdc++.so && \ + ln -sf libstdc++.so.6.0.17 libstdc++.so.6 @-test -d $(STAGING_TARGET_DIR)/lib64 && \ cd $(STAGING_TARGET_DIR)/lib64 && \ - ln -sf libstdc++.so.6.0.17 libstdc++.so + ln -sf libstdc++.so.6.0.17 libstdc++.so && \ + ln -sf libstdc++.so.6.0.17 libstdc++.so.6 # cleanup unneeded docs rm -rf $(STAGING_HOST_DIR)/share touch $@ diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index 0905f2f61..2fc0015d7 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -16,10 +16,6 @@ TARGET_CFLAGS_LIBC:= $(filter-out -fstack-protector,$(TARGET_CFLAGS_LIBC)) include Makefile.inc include ${TOPDIR}/mk/buildhlp.mk -ifeq ($(ADK_TARGET_NO_FPU),y) -GLIBC_CONFOPTS+= --without-fp -endif - GLIBC_MAKEOPTS+= cross-compiling=yes ifeq (${ADK_MAKE_PARALLEL},y) GLIBC_MAKEOPTS+= PARALLELMFLAGS="-j1" diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc index 4a34c9d18..e28405643 100644 --- a/toolchain/glibc/Makefile.inc +++ b/toolchain/glibc/Makefile.inc @@ -18,7 +18,7 @@ GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \ --disable-nscd \ --with-__thread \ --with-tls \ - --enable-kernel="2.6.0" \ + --enable-kernel="2.6.32" \ --enable-add-ons GLIBC_ENV:= PATH='${TARGET_PATH}' \ BUILD_CC=${CC_FOR_BUILD} \ diff --git a/toolchain/kernel-headers/patches/3.4.71/aufs2.patch b/toolchain/kernel-headers/patches/3.4.82/aufs2.patch index d40c9a3fe..d40c9a3fe 100644 --- a/toolchain/kernel-headers/patches/3.4.71/aufs2.patch +++ b/toolchain/kernel-headers/patches/3.4.82/aufs2.patch diff --git a/toolchain/kernel-headers/patches/3.4.71/linux-gcc-check.patch b/toolchain/kernel-headers/patches/3.4.82/linux-gcc-check.patch index 7cc381845..7cc381845 100644 --- a/toolchain/kernel-headers/patches/3.4.71/linux-gcc-check.patch +++ b/toolchain/kernel-headers/patches/3.4.82/linux-gcc-check.patch diff --git a/toolchain/kernel-headers/patches/3.4.71/microperl.patch b/toolchain/kernel-headers/patches/3.4.82/microperl.patch index 44c39f6e8..44c39f6e8 100644 --- a/toolchain/kernel-headers/patches/3.4.71/microperl.patch +++ b/toolchain/kernel-headers/patches/3.4.82/microperl.patch diff --git a/toolchain/kernel-headers/patches/3.4.71/mkpiggy.patch b/toolchain/kernel-headers/patches/3.4.82/mkpiggy.patch index d4e815cd2..d4e815cd2 100644 --- a/toolchain/kernel-headers/patches/3.4.71/mkpiggy.patch +++ b/toolchain/kernel-headers/patches/3.4.82/mkpiggy.patch diff --git a/toolchain/kernel-headers/patches/3.4.71/relocs.patch b/toolchain/kernel-headers/patches/3.4.82/relocs.patch index 43c5bb580..43c5bb580 100644 --- a/toolchain/kernel-headers/patches/3.4.71/relocs.patch +++ b/toolchain/kernel-headers/patches/3.4.82/relocs.patch diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 2a263974f..47084994e 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -56,6 +56,9 @@ endif ifneq ($(ADK_PACKAGE_GDB),) $(SED) "s/.*\(PTHREADS_DEBUG_SUPPORT\).*/\1=y/" ${WRKBUILD}/.config endif +ifeq ($(ADK_LINUX_ARM_WITH_THUMB),y) + $(SED) 's/.*\(COMPILE_IN_THUMB_MODE\).*/\1=y/' ${WRKBUILD}/.config +endif ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y) $(SED) 's,.*UCLIBC_HAS_SSP,UCLIBC_HAS_SSP=y,' ${WRKBUILD}/.config echo "UCLIBC_HAS_SSP_COMPAT=n" >> ${WRKBUILD}/.config |