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_OS_WALDUX) && !ADK_TARGET_CHOOSE_ARCH
8 config ADK_TARGET_BINFMT_ELF
10 depends on ADK_TARGET_WITH_MMU
12 config ADK_TARGET_BINFMT_FLAT
14 select ADK_TARGET_UCLINUX if ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_ARM
15 depends on ADK_TARGET_LIB_UCLIBC_NG
16 depends on !ADK_TARGET_WITH_MMU
17 depends on ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_SH || ADK_TARGET_ARCH_XTENSA \
18 || ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32 || ADK_TARGET_ARCH_BFIN
20 config ADK_TARGET_BINFMT_FDPIC
22 depends on ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV || ADK_TARGET_ARCH_SH
24 config ADK_TARGET_BINFMT_DSBT
26 depends on ADK_TARGET_ARCH_C6X
30 # Set up flat binary type
32 prompt "FLAT Binary type"
33 depends on ADK_TARGET_BINFMT_FLAT && (ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN)
34 default ADK_TARGET_BINFMT_FLAT_ONE
36 config ADK_TARGET_BINFMT_FLAT_ONE
37 bool "One memory region"
38 depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K
40 All segments are linked into one memory region.
42 config ADK_TARGET_BINFMT_FLAT_SEP_DATA
43 bool "Separate data and code region"
44 depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K
46 Allow for the data and text segments to be separated and placed in
47 different regions of memory.
49 config ADK_TARGET_BINFMT_FLAT_SHARED
52 Allow to load and link indiviual FLAT binaries at run time.
56 config ADK_TARGET_BINFMT
58 depends on ADK_TARGET_ARCH_BFIN
59 default "flat" if ADK_TARGET_BINFMT_FLAT
60 default "fdpic" if ADK_TARGET_BINFMT_FDPIC