mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
3cae2db2d1
Install it as $tripple-ld.mold in order to use -fuse-ld=mold. Signed-off-by: Andre Heider <a.heider@gmail.com>
23 lines
455 B
Makefile
23 lines
455 B
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/toolchain-build.mk
|
|
|
|
define Host/Configure
|
|
endef
|
|
|
|
define Host/Compile
|
|
endef
|
|
|
|
define Host/Install
|
|
$(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin
|
|
$(INSTALL_BIN) $(STAGING_DIR_HOST)/bin/mold $(TOOLCHAIN_DIR)/bin/$(REAL_GNU_TARGET_NAME)-ld.mold
|
|
endef
|
|
|
|
define Host/Clean
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|