summaryrefslogtreecommitdiff
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-02-11 17:19:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-02-11 17:19:50 +0100
commit077915e15b57b396eb0581269e3e32f8b4ff79ba (patch)
treeb693f87e749fa304c7e3d30fdb981c35856ce57a /toolchain/binutils/Makefile
parenta03a6cf6ad7c9982184f37208853ef8aab5bc782 (diff)
binutils: update to 2.44, remove gold support
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile15
1 files changed, 0 insertions, 15 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 87e94303c..fdedaeaff 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -18,16 +18,6 @@ else
CONFOPTS+= --disable-lto --disable-plugins
endif
-ifeq ($(ADK_TOOLCHAIN_WITH_GOLD),y)
-ifeq ($(ADK_TARGET_USE_GOLD),y)
-CONFOPTS+= --enable-gold=default
-else
-CONFOPTS+= --enable-gold
-endif
-else
-CONFOPTS+= --disable-gold
-endif
-
ifeq ($(ADK_TARGET_ARCH_ARC),y)
CONFOPTS+= --enable-lto --enable-plugins
endif
@@ -84,15 +74,10 @@ ifeq ($(ADK_TARGET_ARCH_KVX)$(ADK_TARGET_ARCH_H8300)$(ADK_TARGET_ARCH_NDS32)$(AD
$(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/lib/ldscripts
$(CP) $(WRKBUILD)/ld/ldscripts/* $(STAGING_TARGET_DIR)/usr/lib/ldscripts/
endif
-ifeq ($(ADK_TARGET_USE_GOLD),y)
- (cd $(TOOLCHAIN_DIR)/usr/bin && \
- ln -sf $(GNU_TARGET_NAME)-ld.gold $(GNU_TARGET_NAME)-ld)
-else
ifeq (ADK_TOOLCHAIN_BINUTILS_AVR32),)
(cd $(TOOLCHAIN_DIR)/usr/bin && \
ln -sf $(GNU_TARGET_NAME)-ld.bfd $(GNU_TARGET_NAME)-ld)
endif
-endif
touch $@
include ${ADK_TOPDIR}/mk/toolchain.mk