13 define Host
/SetToolchainInfo
14 $(SED
) 's,TARGET_CROSS=.*,TARGET_CROSS=$(REAL_GNU_TARGET_NAME)-,' $(TOOLCHAIN_DIR
)/info.mk
15 $(SED
) 's,GCC_VERSION=.*,GCC_VERSION=$(GCC_VERSION),' $(TOOLCHAIN_DIR
)/info.mk
19 $(call Host
/SetToolchainInfo
)
20 $(call Host
/Prepare
/Default
)
21 ln
-snf
$(GCC_DIR
) $(BUILD_DIR_TOOLCHAIN
)/$(PKG_NAME
)
22 $(CP
) $(SCRIPT_DIR
)/config.
{guess
,sub
} $(HOST_BUILD_DIR
)/
23 $(SED
) 's,^MULTILIB_OSDIRNAMES,# MULTILIB_OSDIRNAMES,' $(HOST_BUILD_DIR
)/gcc
/config
/*/t-
*
24 $(SED
) 's,\(version_string.. = "[0-9\.]*\).*\(";\),\1 (OpenWrt-2.0)\2,' $(HOST_BUILD_DIR
)/gcc
/version.c
25 $(SED
) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:$(BUGURL)>\2,' $(HOST_BUILD_DIR
)/gcc
/version.c
26 $(SED
) 's,http://gcc.gnu.org/bugs.html,$(BUGURL),' $(HOST_BUILD_DIR
)/gcc
/configure
27 #(cd $(HOST_BUILD_DIR)/libstdc++-v3; autoconf;);
28 $(SED
) 's,gcc_no_link=yes,gcc_no_link=no,' $(HOST_BUILD_DIR
)/libstdc
++-v3
/configure
29 mkdir
-p
$(GCC_BUILD_DIR
)
33 $(GCC_MAKE
) -C
$(GCC_BUILD_DIR
) all-gcc
37 $(GCC_MAKE
) -C
$(GCC_BUILD_DIR
) install-gcc
46 $(eval
$(call HostBuild
))
This page took 0.04283 seconds and 5 git commands to generate.