diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-19 19:06:04 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-19 19:06:04 +0000 |
commit | e31844e307270f4050c60244b1707a62581b78ee (patch) | |
tree | 6a3263afe35ed78e6153bb741817a42c71b77b0b /toolchain/gcc/gcc-uclibc-4.x.mk | |
parent | f6a212f1c0c079a3295c09510433d39b2215e191 (diff) |
toolchain/gcc: add 4.3.1
Based on Bernhards tree.
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-4.x.mk')
-rw-r--r-- | toolchain/gcc/gcc-uclibc-4.x.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 792969e0b..6092e1ace 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -219,12 +219,22 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched touch $@ $(GCC_BUILD_DIR1)/.compiled: $(GCC_BUILD_DIR1)/.configured + # gcc >= 4.3.0 have to also build all-target-libgcc +ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y) + $(MAKE) -C $(GCC_BUILD_DIR1) all-gcc all-target-libgcc +else $(MAKE) -C $(GCC_BUILD_DIR1) all-gcc +endif touch $@ gcc_initial=$(GCC_BUILD_DIR1)/.installed $(gcc_initial) $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled + # gcc >= 4.3.0 have to also install install-target-libgcc +ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y) + PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc install-target-libgcc +else PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc +endif touch $(gcc_initial) gcc_initial: uclibc-configured binutils $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc |