|
@@ -161,49 +161,7 @@ endif
|
|
|
GCC_HOST_PREREQ = host-gmp host-mpfr
|
|
|
GCC_TARGET_PREREQ += mpfr gmp
|
|
|
|
|
|
-# GCC 4.5.x prerequisites
|
|
|
-ifeq ($(findstring x4.5.,x$(GCC_VERSION)),x4.5.)
|
|
|
-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 4.6.x prerequisites
|
|
|
-ifeq ($(findstring x4.6.,x$(GCC_VERSION)),x4.6.)
|
|
|
-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 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 4.8.x prerequisites
|
|
|
-ifeq ($(findstring x4.8.,x$(GCC_VERSION)),x4.8.)
|
|
|
-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),)
|
|
|
+ifeq ($(BR2_GCC_NEEDS_MPC),y)
|
|
|
GCC_WITH_HOST_MPC = --with-mpc=$(HOST_DIR)/usr
|
|
|
GCC_TARGET_PREREQ += mpc
|
|
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|