From f561763e9189d668001004f5a603738c1ba7ce7c Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 25 Feb 2010 17:27:50 +0100 Subject: gmp/mpfr: make sure host builds add source targets to HOST_SOURCE Closes #1183. When gmp/mpfr is needed for the host (E.G. when using an internal toolchain), the host-lib{gmp,mpfr}-source targets weren't added to HOST_SOURCE, so make source / external-deps didn't handle them. Notice that we have the same issue with the new host package support, there we should probably use HOST__DEPENDENCIES for -source dependencies. Signed-off-by: Peter Korsgaard --- toolchain/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index 288a000f5..77e7d3d51 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -37,6 +37,7 @@ endif ifndef BINUTILS_NO_MPFR 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_TARGET_PREREQ:=$(TARGET_DIR)/usr/lib/libgmp$(LIBTGTEXT) \ $(TARGET_DIR)/usr/lib/libmpfr$(LIBTGTEXT) -- cgit v1.2.3