Makefile 455 B

12345678910111213141516171819202122
  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. include $(INCLUDE_DIR)/toolchain-build.mk
  7. define Host/Configure
  8. endef
  9. define Host/Compile
  10. endef
  11. define Host/Install
  12. $(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin
  13. $(INSTALL_BIN) $(STAGING_DIR_HOST)/bin/mold $(TOOLCHAIN_DIR)/bin/$(REAL_GNU_TARGET_NAME)-ld.mold
  14. endef
  15. define Host/Clean
  16. endef
  17. $(eval $(call HostBuild))