From b9463eb464d16a7b2a7fd548ddb11fbf357d3d7d Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 13 Feb 2020 06:29:38 +0000 Subject: [PATCH] sh4-fix-linker-name-prefix.patch u-boot currently fails to build from source on sh4 since the linker name prefix defined in arch/sh/config.mk is outdated. On current Debian installations, the binaries of the GNU toolchain are named using the triplett scheme $arch-$kernel-$toolchain. Thus, on sh4, the proper name is "sh4-linux-gnu-ld" instead of "sh4-linux-ld". This patch updates build configuration on sh4 to reflect that. Gbp-Pq: Name sh4-fix-linker-name-prefix.patch --- arch/sh/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/config.mk b/arch/sh/config.mk index 6ef44638a..e3d6a9d62 100644 --- a/arch/sh/config.mk +++ b/arch/sh/config.mk @@ -4,7 +4,7 @@ # Wolfgang Denk, DENX Software Engineering, wd@denx.de. ifeq ($(CROSS_COMPILE),) -CROSS_COMPILE := sh4-linux- +CROSS_COMPILE := sh4-linux-gnu- endif CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000 -- 2.30.2