linux: set Linux 6.6.x as default
[openadk.git] / target / config / Config.in.binfmt
blob2c690724a0b57f7513980814b13bf56a951dc68c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 choice
5 prompt "Binary format"
6 depends on ADK_TARGET_OS_LINUX && !ADK_TARGET_CHOOSE_ARCH
8 config ADK_TARGET_BINFMT_ELF
9         bool "ELF"
10         select ADK_TARGET_USE_STATIC_LIBS_ONLY if !ADK_TARGET_WITH_MMU
11         depends on ADK_TARGET_WITH_MMU || ADK_TARGET_ARCH_ARM || \
12                 ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
14 config ADK_TARGET_BINFMT_FLAT
15         bool "FLAT"
16         select BUSYBOX_NOMMU
17         select ADK_TARGET_UCLINUX if ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_ARM
18         depends on ADK_TARGET_LIB_UCLIBC_NG
19         depends on !ADK_TARGET_WITH_MMU
20         depends on ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_SH || ADK_TARGET_ARCH_XTENSA \
21                 || ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32 || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_RISCV64 \
22                 || ADK_TARGET_ARCH_RISCV32
24 config ADK_TARGET_BINFMT_FDPIC
25         bool "FDPIC"
26         select BUSYBOX_NOMMU
27         depends on ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV || ADK_TARGET_ARCH_SH
28         depends on !ADK_TARGET_WITH_MMU
30 config ADK_TARGET_BINFMT_DSBT
31         bool "DSBT"
32         select BUSYBOX_NOMMU
33         depends on ADK_TARGET_ARCH_C6X
35 endchoice
37 # Set up flat binary type
38 choice
39 prompt "FLAT Binary type"
40 depends on ADK_TARGET_BINFMT_FLAT && (ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN)
41 default ADK_TARGET_BINFMT_FLAT_ONE
43 config ADK_TARGET_BINFMT_FLAT_ONE
44         bool "One memory region"
45         depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K
46         help
47           All segments are linked into one memory region.
49 config ADK_TARGET_BINFMT_FLAT_SEP_DATA
50         bool "Separate data and code region"
51         depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K
52         help
53           Allow for the data and text segments to be separated and placed in
54           different regions of memory.
56 endchoice
58 source "target/config/Config.in.elf2flt"
60 config ADK_TARGET_BINFMT
61         string
62         depends on !ADK_TARGET_WITH_MMU
63         default "elf" if ADK_TARGET_BINFMT_ELF
64         default "flat" if ADK_TARGET_BINFMT_FLAT
65         default "fdpic" if ADK_TARGET_BINFMT_FDPIC