FDPIC: arm could be selected in future
[openadk.git] / target / config / Config.in.binfmt
blobad2d7f7704e328c48defd62aa9c608d07477a65e
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_OS_WALDUX) && !ADK_TARGET_CHOOSE_ARCH
8 config ADK_TARGET_BINFMT_ELF
9         bool "ELF"
10         depends on ADK_TARGET_WITH_MMU
12 config ADK_TARGET_BINFMT_FLAT
13         bool "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
21         bool "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
25         bool "DSBT"
26         depends on ADK_TARGET_ARCH_C6X
28 endchoice
30 # Set up flat binary type
31 choice
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
39         help
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
45         help
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
50         bool "Shared binary"
51         help
52           Allow to load and link indiviual FLAT binaries at run time.
54 endchoice
56 config ADK_TARGET_BINFMT
57         string
58         depends on ADK_TARGET_ARCH_BFIN
59         default "flat" if ADK_TARGET_BINFMT_FLAT
60         default "fdpic" if ADK_TARGET_BINFMT_FDPIC