From 21f7b8bccec20702170d89ab662757945d9ffbe9 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 6 Dec 2010 16:40:07 -0300 Subject: gmp: make it a proper package and bump to version 5.0.1 * Convert gmp to a proper autotargets package * Bump to version 5.0.1 * Hook it up for binutils/gcc to use Signed-off-by: Gustavo Zacarias Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- toolchain/binutils/binutils.mk | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index ef9f64404..327a0f65d 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -16,17 +16,15 @@ endif BINUTILS_HOST_PREREQ:= BINUTILS_TARGET_PREREQ:= -BINUTILS_HOST_PREREQ:=$(TOOLCHAIN_DIR)/gmp/lib/libgmp$(HOST_LIBEXT) \ - $(TOOLCHAIN_DIR)/mpfr/lib/libmpfr$(HOST_LIBEXT) -HOST_SOURCE += host-libgmp-source host-libmpfr-source +BINUTILS_HOST_PREREQ:=host-gmp $(TOOLCHAIN_DIR)/mpfr/lib/libmpfr$(HOST_LIBEXT) +HOST_SOURCE += host-gmp-source host-libmpfr-source -BINUTILS_TARGET_PREREQ:=$(TARGET_DIR)/usr/lib/libgmp$(LIBTGTEXT) \ - $(TARGET_DIR)/usr/lib/libmpfr$(LIBTGTEXT) +BINUTILS_TARGET_PREREQ:=gmp $(TARGET_DIR)/usr/lib/libmpfr$(LIBTGTEXT) -EXTRA_BINUTILS_CONFIG_OPTIONS+=--with-gmp="$(GMP_HOST_DIR)" +EXTRA_BINUTILS_CONFIG_OPTIONS+=--with-gmp=$(HOST_DIR)/usr EXTRA_BINUTILS_CONFIG_OPTIONS+=--with-mpfr="$(MPFR_HOST_DIR)" -BINUTILS_TARGET_CONFIG_OPTIONS=--with-gmp="$(GMP_TARGET_DIR)" +BINUTILS_TARGET_CONFIG_OPTIONS=--with-gmp=$(STAGING_DIR)/usr BINUTILS_TARGET_CONFIG_OPTIONS+=--with-mpfr="$(MPFR_TARGET_DIR)" ifeq ($(BR2_PACKAGE_LIBMPC),y) -- cgit v1.2.3