From b4a8ae3e8cc9f5a7b0b4b6f7004c51e661dcc456 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 13 Apr 2012 09:44:45 -0300 Subject: toolchain/gcc: add 4.7.x series Add gcc 4.7.0 to the toolchain options. [Peter: drop 0001-toolchain-gcc-add-4.7.x-series.txt] Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- toolchain/gcc/gcc-uclibc-4.x.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'toolchain/gcc/gcc-uclibc-4.x.mk') diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index d9547fbfb..ae734e88b 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -120,6 +120,16 @@ endif GCC_HOST_PREREQ += host-mpc endif +# GCC 4.7.x prerequisites +ifeq ($(findstring x4.7.,x$(GCC_VERSION)),x4.7.) +GCC_WITH_HOST_MPC = --with-mpc=$(HOST_DIR)/usr +GCC_TARGET_PREREQ += mpc +ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) +HOST_SOURCE += host-mpc-source +endif +GCC_HOST_PREREQ += host-mpc +endif + # GCC snapshot prerequisites # Since we don't know and it can be quite new just ask for everything known ifneq ($(GCC_SNAP_DATE),) -- cgit v1.2.3