[PATCH 1/2] sandbox: select CONFIG_64BIT for SANDBOX64

Dan Carpenter dan.carpenter at linaro.org
Tue Mar 5 16:16:20 CET 2024


Select CONFIG_64BIT so that we pass the -m64 option (instead of -m32) to
static analysis tools.

Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
---
 arch/sandbox/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 0ce77de2fcb4..c431da60e8c4 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -12,6 +12,7 @@ config SYS_CPU
 
 config SANDBOX64
 	bool "Use 64-bit addresses"
+	select 64BIT
 	select PHYS_64BIT
 	depends on HOST_64BIT
 
-- 
2.43.0



More information about the U-Boot mailing list