summaryrefslogtreecommitdiff
path: root/target/config/Config.in.binfmt
blob: 2e15e613d20e66832d3017802d7d92dbd752e1fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice
prompt "Binary Format"
depends on ADK_TARGET_ARCH_ARM \
	|| ADK_TARGET_ARCH_BFIN \
	|| ADK_TARGET_ARCH_C6X \
	|| ADK_TARGET_ARCH_H8300\
	|| ADK_TARGET_ARCH_M68K

config ADK_TARGET_BINFMT_ELF
	bool "ELF"
	depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K) && !ADK_TARGET_UCLINUX

config ADK_TARGET_BINFMT_FLAT
	bool "FLAT"
	depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K) && ADK_TARGET_UCLINUX \
		|| ADK_TARGET_ARCH_H8300

config ADK_TARGET_BINFMT_DSBT
	bool "DSBT"
	depends on ADK_TARGET_ARCH_C6X

config ADK_TARGET_BINFMT_FDPIC
	bool "FDPIC"
	depends on ADK_TARGET_ARCH_BFIN

endchoice

# Set up flat binary type
choice
prompt "FLAT Binary type"
depends on ADK_TARGET_BINFMT_FLAT && !ADK_TARGET_ARCH_H8300
default ADK_TARGET_BINFMT_FLAT_ONE

config ADK_TARGET_BINFMT_FLAT_ONE
	bool "One memory region"
	help
	  All segments are linked into one memory region.

config ADK_TARGET_BINFMT_FLAT_SEP_DATA
	bool "Separate data and code region"
	depends on ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN
	help
	  Allow for the data and text segments to be separated and placed in
	  different regions of memory.

config ADK_TARGET_BINFMT_FLAT_SHARED
	bool "Shared binary"
	select ADK_TARGET_BINFMT_SUPPORTS_SHARED
	help
	  Allow to load and link indiviual FLAT binaries at run time.

endchoice