-include $(INCLUDE_DIR)/host-build.mk
-
-EXTRA_TARGET=$(if $(CONFIG_EXTRA_TARGET_ARCH),--enable-targets=$(call qstrip,$(CONFIG_EXTRA_TARGET_ARCH_NAME))-linux-$(TARGET_SUFFIX))
-
-ifneq ($(CONFIG_SSP_SUPPORT),)
- LIB_SSP:=--enable-libssp
-else
- LIB_SSP:=--disable-libssp
-endif
-
-define Build/Prepare
- $(call Build/Prepare/Default)
- ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
- $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/
-endef
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR); \
- ./configure \
- --prefix=$(TOOLCHAIN_DIR)/usr \