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 <[email protected]>
---
 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


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to