All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 1/8] spl: Kconfig: Escape '$(ARCH)' in LDSCRIPT entries
@ 2020-03-11 22:11 Tom Rini
  2020-03-11 22:11 ` [PATCHv2 2/8] Kconfig: Remove redundant variable sets Tom Rini
                   ` (8 more replies)
  0 siblings, 9 replies; 28+ messages in thread
From: Tom Rini @ 2020-03-11 22:11 UTC (permalink / raw)
  To: u-boot

The default SPL / TPL linker script is in the $(ARCH) directory.  The
way we use this today works but isn't ideal.  With an update to Kconfig
to re-sync with the Linux Kernel, we need to escape the '$' here so that
it will end up being evaluated by make.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Changes in v2:
- Only escape common/spl/Kconfig, reword commit.
---
 common/spl/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index b03a476b9f69..9d52b75cb434 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -139,7 +139,7 @@ config SPL_HANDOFF
 
 config SPL_LDSCRIPT
 	string "Linker script for the SPL stage"
-	default "arch/$(ARCH)/cpu/u-boot-spl.lds"
+	default "arch/\$(ARCH)/cpu/u-boot-spl.lds"
 	help
 	  The SPL stage will usually require a different linker-script
 	  (as it runs from a different memory region) than the regular
@@ -1306,7 +1306,7 @@ config TPL_LDSCRIPT
         string "Linker script for the TPL stage"
 	depends on TPL
 	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64
-	default "arch/$(ARCH)/cpu/u-boot-spl.lds"
+	default "arch/\$(ARCH)/cpu/u-boot-spl.lds"
 	help
 	  The TPL stage will usually require a different linker-script
 	  (as it runs from a different memory region) than the regular
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2020-03-17 15:29 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 22:11 [PATCHv2 1/8] spl: Kconfig: Escape '$(ARCH)' in LDSCRIPT entries Tom Rini
2020-03-11 22:11 ` [PATCHv2 2/8] Kconfig: Remove redundant variable sets Tom Rini
     [not found]   ` <752D002CFF5D0F4FA35C0100F1D73F3FA46E35F2@ATCPCS16.andestech.com>
2020-03-12  6:19     ` Rick Chen
2020-03-12 11:31   ` Michal Simek
2020-03-15  2:14   ` Masahiro Yamada
2020-03-17 15:29   ` Tom Rini
2020-03-11 22:11 ` [PATCHv2 3/8] edminiv2: Move CONFIG_SPL_LDSCRIPT to defconfig Tom Rini
2020-03-15 11:11   ` Masahiro Yamada
2020-03-17 15:29   ` Tom Rini
2020-03-11 22:11 ` [PATCHv2 4/8] mach-davinci: Hard-code the default SPL_LDSCRIPT path Tom Rini
2020-03-12  3:41   ` Lokesh Vutla
2020-03-15 11:11   ` Masahiro Yamada
2020-03-17 15:29   ` Tom Rini
2020-03-11 22:11 ` [PATCHv2 5/8] Azure / GitLab / Travis: Add Kconfig unit tests to a job Tom Rini
2020-03-17 15:29   ` Tom Rini
2020-03-11 22:11 ` [PATCHv2 6/8] scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc Tom Rini
2020-03-13 20:01   ` Rob Herring
2020-03-13 20:10     ` Tom Rini
2020-03-17 15:29   ` Tom Rini
2020-03-11 22:11 ` [PATCHv2 7/8] kconfig / kbuild: re-sync with Linux 4.18 Tom Rini
2020-03-15  2:04   ` Masahiro Yamada
2020-03-17 15:29   ` Tom Rini
2020-03-11 22:11 ` [PATCHv2 8/8] configs: Drop '$(ARCH)' usage in CONFIG_SPL_LDSCRIPT Tom Rini
2020-03-15 11:56   ` Masahiro Yamada
2020-03-15 13:06     ` Tom Rini
2020-03-17 15:29   ` Tom Rini
2020-03-15  2:05 ` [PATCHv2 1/8] spl: Kconfig: Escape '$(ARCH)' in LDSCRIPT entries Masahiro Yamada
2020-03-17 15:29 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.