summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-21 15:15:47 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-21 15:15:47 +0000
commita305cae620533d7f55c7a05a9cabbe5e7c9c216c (patch)
tree6bbed7331f4081aeaa802ad939942fafe0446481 /tools/Makefile
parent8b739f4586be47c1b15bfb74214635085e45e2bb (diff)
[tools] only build gmp and mpfr when selecting gcc-4.3.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14135 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 81c69b404..768f8786c 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -9,7 +9,11 @@
curdir:=tools
# subdirectories to descend into
-$(curdir)/builddirs := sed sstrip ipkg-utils genext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline pkg-config automake $(if $(CONFIG_CCACHE),ccache) bison $(if $(CONFIG_powerpc),dtc) lua quilt autoconf gmp mpfr
+$(curdir)/builddirs := sed sstrip ipkg-utils genext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline pkg-config automake $(if $(CONFIG_CCACHE),ccache) bison $(if $(CONFIG_powerpc),dtc) lua quilt autoconf
+
+ifeq ($(CONFIG_GCC_VERSION_4_3_1)$(CONFIG_GCC_VERSION_4_3_2),y)
+$(curdir)/builddirs += gmp mpfr
+endif
# builddir dependencies
$(curdir)/squashfs/compile := $(curdir)/lzma/install