From 1db3939ad91e88d420bc8983b4708ee65d3c91e2 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 2 May 2011 17:38:27 -0300 Subject: toolchain: update gcc snapshot version * Make mpc mandatory since we are probably building bleeding-edge * Change snapshot naming convention to match the source Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- toolchain/gcc/gcc-uclibc-4.x.mk | 11 +++++++++++ 1 file changed, 11 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 9b8bf685c..712361549 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -141,6 +141,17 @@ 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),) +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 + ifeq ($(BR2_GCC_SHARED_LIBGCC),y) GCC_SHARED_LIBGCC:=--enable-shared else -- cgit v1.2.3