diff options
| author | Bin Meng <[email protected]> | 2017-08-01 16:33:34 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2017-09-11 21:43:58 -0600 |
| commit | 226b50bbd87b0c4ebf913066dfadbe04306ce402 (patch) | |
| tree | 98bf336c875b145cdbc8a45fcbac3932360d54b5 /arch | |
| parent | 98cff66027c44e6e15eb48dbb2300f388bcc172c (diff) | |
sandbox: Convert SANDBOX_BITS_PER_LONG to Kconfig
Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct
number depending on which host we are going to build and run.
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/sandbox/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 7b07bff1da2..87418e39868 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -35,4 +35,9 @@ config SANDBOX_64BIT endchoice +config SANDBOX_BITS_PER_LONG + int + default 32 if SANDBOX_32BIT + default 64 if SANDBOX_64BIT + endmenu |
