32 lines
728 B
Plaintext
32 lines
728 B
Plaintext
menu "Target architecture"
|
|
|
|
choice
|
|
prompt "Architecture"
|
|
default ARCH_AMD64
|
|
help
|
|
Selects the value passed as ARCH= to whichever Makefile
|
|
(Makefile or Makefile.starkernel) is driven from this config.
|
|
Both Makefiles already accept "amd64"/"aarch64"/"riscv64" as
|
|
canonical spellings (each has its own alias-normalizing logic
|
|
for other spellings like x86_64/arm64/riscv), so this choice
|
|
does not need to track which Makefile is in use.
|
|
|
|
config ARCH_AMD64
|
|
bool "AMD64 / x86_64"
|
|
|
|
config ARCH_AARCH64
|
|
bool "AArch64 / ARM64"
|
|
|
|
config ARCH_RISCV64
|
|
bool "RISC-V 64"
|
|
|
|
endchoice
|
|
|
|
config ARCH_STRING
|
|
string
|
|
default "amd64" if ARCH_AMD64
|
|
default "aarch64" if ARCH_AARCH64
|
|
default "riscv64" if ARCH_RISCV64
|
|
|
|
endmenu
|