summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-29 17:32:58 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-29 17:32:58 +0000
commit7a478629c14a91a87c416a255cfd83581f438ded (patch)
tree61816cbe755dbd056f4ecb9495c882a5b84c468f
parent50e14889d72528929232307ee1474b350f9da10b (diff)
downloadbuildroot-novena-7a478629c14a91a87c416a255cfd83581f438ded.tar.gz
buildroot-novena-7a478629c14a91a87c416a255cfd83581f438ded.zip
Use linke to build-time-tools, disable libssp which does not work for cross-compile
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 3fd4e6f51..733dbe6ba 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -252,8 +252,8 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ)
--enable-languages=$(GCC_CROSS_LANGUAGES) \
--disable-__cxa_atexit \
--enable-target-optspace \
- --with-gnu-ld \
- --with-as=$(TARGET_CROSS)as \
+ --with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+ --disable-libssp \
$(GCC_WITH_HOST_GMP) \
$(GCC_WITH_HOST_MPFR) \
$(GCC_SHARED_LIBGCC) \
@@ -355,13 +355,14 @@ endif
touch $@
cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
-cross_compiler gcc: uclibc-configured binutils gcc_initial \
- $(LIBFLOAT_TARGET) uclibc \
- $(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
$(GCC_TARGETS)
gcc-source: $(DL_DIR)/$(GCC_SOURCE)
+gcc-config:uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) \
+ uclibc $(GCC_BUILD_DIR2)/.configured
+
gcc-clean:
rm -rf $(GCC_BUILD_DIR2)
for prog in cpp gcc gcc-[0-9]* protoize unprotoize gcov gccbug cc; do \