Message ID | 20241125115554.1707080-3-andrew.goodbody@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | Select CONFIG_64BIT for sandbox64 and x86_64 | expand |
On Mon, 25 Nov 2024 at 04:56, Andrew Goodbody <andrew.goodbody@linaro.org> wrote: > > Select CONFIG_64BIT so that we pass the -m64 option (instead of -m32) to > static analysis tools. > > Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> > > Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org> > --- > > (no changes since v3) > > Changes in v3: > Updated commit title > > Changes in v2: > Moved select of CONFIG_64BIT from SANDBOX64 to HOST_64BIT as > suggested by reviewer. > > arch/sandbox/Kconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass <sjg@chromium.org> > diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig > index 1c8353d615..db29ca14bd 100644 > --- a/arch/sandbox/Kconfig > +++ b/arch/sandbox/Kconfig > @@ -46,6 +46,7 @@ config HOST_32BIT > > config HOST_64BIT > def_bool $(cc-define,_LP64) > + select 64BIT > > config HOST_HAS_SDL > def_bool $(success,sdl2-config --version) > -- > 2.39.5 >
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 1c8353d615..db29ca14bd 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -46,6 +46,7 @@ config HOST_32BIT config HOST_64BIT def_bool $(cc-define,_LP64) + select 64BIT config HOST_HAS_SDL def_bool $(success,sdl2-config --version)