1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
6 depends on ADK_TARGET_OS_LINUX && !ADK_TARGET_CHOOSE_ARCH
8 config ADK_TARGET_BINFMT_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
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
27 depends on ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV || ADK_TARGET_ARCH_SH \
28 || ADK_TARGET_ARCH_XTENSA
29 depends on !ADK_TARGET_WITH_MMU
31 config ADK_TARGET_BINFMT_DSBT
34 depends on ADK_TARGET_ARCH_C6X
38 # Set up flat binary type
40 prompt "FLAT Binary type"
41 depends on ADK_TARGET_BINFMT_FLAT && (ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN)
42 default ADK_TARGET_BINFMT_FLAT_ONE
44 config ADK_TARGET_BINFMT_FLAT_ONE
45 bool "One memory region"
46 depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K
48 All segments are linked into one memory region.
50 config ADK_TARGET_BINFMT_FLAT_SEP_DATA
51 bool "Separate data and code region"
52 depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K
54 Allow for the data and text segments to be separated and placed in
55 different regions of memory.
59 source "target/config/Config.in.elf2flt"
61 config ADK_TARGET_BINFMT
63 depends on !ADK_TARGET_WITH_MMU
64 default "elf" if ADK_TARGET_BINFMT_ELF
65 default "flat" if ADK_TARGET_BINFMT_FLAT
66 default "fdpic" if ADK_TARGET_BINFMT_FDPIC