[PATCH v2 2/2] x86: select CONFIG_64BIT for X86_64

Andrew Goodbody andrew.goodbody at linaro.org
Wed Nov 6 13:42:15 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>
Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---

Changes in v2:
Corrected commit title to be x86 not sandbox

 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 23a1e21b29..006a59d6fa 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -44,6 +44,7 @@ endchoice
 
 config X86_64
 	bool
+	select 64BIT
 
 config SPL_X86_64
 	bool
-- 
2.39.5



More information about the U-Boot mailing list