[PATCH] arm: imx: RELOCATABLE default yes on IMX_MULTI_BOARDS

Lars Pedersen lapeddk at gmail.com
Mon Aug 17 07:03:46 EDT 2020


Set relocatable to default yes when compiling for multiple i.MX boards,
since setting a suitable TEXT_BASE value across multiple boards is impossible.

Signed-off-by: Lars Pedersen <lapeddk at gmail.com>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig b/common/Kconfig
index 658437f01..c37339793 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -349,6 +349,7 @@ config KALLSYMS
 config RELOCATABLE
 	depends on PPC || ARM
 	bool "generate relocatable barebox binary"
+	default y if IMX_MULTI_BOARDS
 	help
 	  A non relocatable barebox binary will run at it's compiled in
 	  link address in RAM. This leads to smaller image sizes but may
-- 
2.26.2




More information about the barebox mailing list