X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e024eeefe78de9c55a7a6fdd5d1bd0d52faf837b..f29bf60fb1e17b3be80e9127332c53fcaebee55b:/tools/Makefile diff --git a/tools/Makefile b/tools/Makefile index ef64dc0e9..47b5a6ac0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2007 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -9,18 +9,24 @@ curdir:=tools # subdirectories to descend into -tools-y := sed sstrip ipkg-utils genext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline pkg-config m4 autoconf automake bison quilt yaffs2 +tools-y := +tools-$(CONFIG_GCC_VERSION_4_3)$(CONFIG_GCC_VERSION_4_4) += gmp mpfr +tools-y += m4 autoconf automake bison pkg-config sed +tools-y += sstrip ipkg-utils genext2fs squashfs squashfs4 mtd-utils lzma-old mkimage +tools-y += firmware-utils patch-cmdline quilt yaffs2 tools-$(CONFIG_CCACHE) += ccache tools-$(CONFIG_powerpc) += dtc -tools-$(CONFIG_GCC_VERSION_4_3) += gmp mpfr +tools-dep += lzma # builddir dependencies -$(curdir)/squashfs/compile := $(curdir)/lzma/install +$(curdir)/squashfs/compile := $(curdir)/lzma-old/install +$(curdir)/squashfs4/compile := $(curdir)/lzma/install $(curdir)/quilt/compile := $(curdir)/sed/install $(curdir)/dtc/compile := $(curdir)/bison/install $(curdir)/autoconf/compile := $(curdir)/m4/install -$(curdir)/automake/compile := $(curdir)/m4/install +$(curdir)/automake/compile := $(curdir)/m4/install $(curdir)/autoconf/install +$(curdir)/mpfr/compile := $(curdir)/gmp/install $(curdir)/builddirs := $(tools-y) $(tools-dep) $(tools-) $(curdir)/builddirs-default := $(tools-y)