| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
if MEMTEST_SECONDARY_PAYLOAD |
| 4 |
|
| 5 |
comment "Memtest86+" |
| 6 |
|
| 7 |
choice |
| 8 |
prompt "Memtest86+ 5/6" |
| 9 |
|
| 10 |
config MEMTEST86PLUS_V6 |
| 11 |
bool "Memtest86+ V6" |
| 12 |
|
| 13 |
config MEMTEST86PLUS_V5 |
| 14 |
bool "Memtest86+ V5" |
| 15 |
|
| 16 |
endchoice |
| 17 |
|
| 18 |
choice |
| 19 |
prompt "Target architecture" |
| 20 |
depends on MEMTEST86PLUS_V6 |
| 21 |
|
| 22 |
config MEMTEST86PLUS_ARCH_64 |
| 23 |
bool "64 bit" |
| 24 |
|
| 25 |
config MEMTEST86PLUS_ARCH_32 |
| 26 |
bool "32 bit" |
| 27 |
|
| 28 |
endchoice |
| 29 |
|
| 30 |
choice |
| 31 |
prompt "Memtest86+ revision" |
| 32 |
depends on MEMTEST_SECONDARY_PAYLOAD |
| 33 |
|
| 34 |
config MEMTEST_STABLE |
| 35 |
bool "Stable" |
| 36 |
help |
| 37 |
Stable Memtest86+ version. |
| 38 |
|
| 39 |
For reproducible builds, this option must be selected. |
| 40 |
config MEMTEST_MAIN |
| 41 |
bool "Main" |
| 42 |
help |
| 43 |
Newest Memtest86+ version. |
| 44 |
|
| 45 |
This option will fetch the newest version of the Memtest86+ code, |
| 46 |
updating as new changes are committed. This makes the build |
| 47 |
non-reproducible, as it can fetch different code each time. |
| 48 |
|
| 49 |
config MEMTEST_REVISION |
| 50 |
bool "git revision" |
| 51 |
help |
| 52 |
Select this option if you have a specific commit or branch |
| 53 |
that you want to use as the revision from which to |
| 54 |
build Memtest86+. Using a branch version makes the build |
| 55 |
non-reproducible, as it can fetch different code each time. |
| 56 |
|
| 57 |
You will be able to specify the name of a branch or a commit id |
| 58 |
later. |
| 59 |
|
| 60 |
endchoice |
| 61 |
|
| 62 |
config MEMTEST_REVISION_ID |
| 63 |
string "Insert a commit's SHA-1 or a branch name" |
| 64 |
depends on MEMTEST_REVISION |
| 65 |
default "origin/main" |
| 66 |
help |
| 67 |
The commit's SHA-1 or branch name of the revision to use. |
| 68 |
|
| 69 |
endif |