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_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 depends on !ADK_TARGET_WITH_MMU
30 config ADK_TARGET_BINFMT_DSBT
33 depends on ADK_TARGET_ARCH_C6X
37 # Set up flat binary type
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
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
53 Allow for the data and text segments to be separated and placed in
54 different regions of memory.
58 source "target/config/Config.in.elf2flt"
60 config ADK_TARGET_BINFMT
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