From 7aa2e0c3d5b9f13fc1398e733090a3b4e6a95226 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 6 Dec 2010 16:40:10 -0300 Subject: mpc: make it a proper package * Convert mpc to a proper autotargets package * 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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index c33259057..8ab383b3c 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -36,11 +36,11 @@ BINUTILS_ADD_MPC = y endif ifeq ($(BINUTILS_ADD_MPC),y) -BINUTILS_HOST_PREREQ += $(TOOLCHAIN_DIR)/mpc/lib/libmpc$(HOST_LIBEXT) -HOST_SOURCE += host-libmpc-source -BINUTILS_TARGET_PREREQ += $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT) -EXTRA_BINUTILS_CONFIG_OPTIONS += --with-mpc="$(MPC_HOST_DIR)" -BINUTILS_TARGET_CONFIG_OPTIONS += --with-mpc="$(MPC_TARGET_DIR)" +BINUTILS_HOST_PREREQ += host-mpc +HOST_SOURCE += host-mpc-source +BINUTILS_TARGET_PREREQ += mpc +EXTRA_BINUTILS_CONFIG_OPTIONS += --with-mpc=$(HOST_DIR)/usr +BINUTILS_TARGET_CONFIG_OPTIONS += --with-mpc=$(STAGING_DIR)/usr endif BINUTILS_PATCH_DIR:=toolchain/binutils/$(BINUTILS_VERSION) -- cgit v1.2.3