summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-05-03 18:39:37 +0800
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-05 22:54:37 +0200
commit57c05432917de3b9aec293d713acafde01ac9b07 (patch)
tree22e5eecb216e65b93f836b596b08e2d6444b2493 /arch
parent66d41890ec2b76189bcd427a0cc3966ff56f9712 (diff)
downloadbuildroot-novena-57c05432917de3b9aec293d713acafde01ac9b07.tar.gz
buildroot-novena-57c05432917de3b9aec293d713acafde01ac9b07.zip
arch: toolchain: Introduce binary format FLAT types.
Just introduce the symbol and options in arch generic Config.in. Add FLAT types specific compiling flags into package makefile. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/Config.in b/arch/Config.in
index fa9dad343..5ca05cdde 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -226,6 +226,32 @@ config BR2_BINFMT_FLAT
endchoice
+# Set up flat binary type
+choice
+ prompt "FLAT Binary type"
+ depends on BR2_BINFMT_FLAT
+ default BR2_BINFMT_FLAT_ONE
+
+config BR2_BINFMT_FLAT_ONE
+ bool "One memory region"
+ help
+ All segments are linked into one memory region.
+
+config BR2_BINFMT_FLAT_SEP_DATA
+ bool "Separate data and code region"
+ depends on BR2_bfin || BR2_m68k
+ help
+ Allow for the data and text segments to be separated and placed in
+ different regions of memory.
+
+config BR2_BINFMT_FLAT_SHARED
+ bool "Shared binary"
+ depends on BR2_bfin || BR2_m68k
+ help
+ Allow to load and link indiviual FLAT binaries at run time.
+
+endchoice
+
if BR2_arcle || BR2_arceb
source "arch/Config.in.arc"
endif