mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 10:46:26 +00:00
Restrict flat format to architectures that support it
Fixes #878 Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
c34fe6eec6
commit
d1910b945b
@ -6,6 +6,7 @@
|
|||||||
## select ARCH_DEFAULT_32
|
## select ARCH_DEFAULT_32
|
||||||
## select ARCH_SUPPORTS_BOTH_MMU
|
## select ARCH_SUPPORTS_BOTH_MMU
|
||||||
## select ARCH_DEFAULT_HAS_MMU
|
## select ARCH_DEFAULT_HAS_MMU
|
||||||
|
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
## select ARCH_SUPPORTS_EITHER_ENDIAN
|
## select ARCH_SUPPORTS_EITHER_ENDIAN
|
||||||
## select ARCH_DEFAULT_LE
|
## select ARCH_DEFAULT_LE
|
||||||
## select ARCH_SUPPORTS_WITH_ARCH
|
## select ARCH_SUPPORTS_WITH_ARCH
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
## select ARCH_SUPPORTS_32
|
## select ARCH_SUPPORTS_32
|
||||||
## select ARCH_DEFAULT_32
|
## select ARCH_DEFAULT_32
|
||||||
## select ARCH_DEFAULT_BE
|
## select ARCH_DEFAULT_BE
|
||||||
|
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
## select ARCH_SUPPORTS_WITH_CPU
|
## select ARCH_SUPPORTS_WITH_CPU
|
||||||
##
|
##
|
||||||
## help The m68k architecture
|
## help The m68k architecture
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
## select ARCH_DEFAULT_BE
|
## select ARCH_DEFAULT_BE
|
||||||
## select ARCH_SUPPORTS_BOTH_MMU
|
## select ARCH_SUPPORTS_BOTH_MMU
|
||||||
## select ARCH_DEFAULT_HAS_MMU
|
## select ARCH_DEFAULT_HAS_MMU
|
||||||
|
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
##
|
##
|
||||||
## help The MicroBlaze architecture, as defined by:
|
## help The MicroBlaze architecture, as defined by:
|
||||||
## help http://www.xilinx.com/
|
## help http://www.xilinx.com/
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
## select ARCH_SUPPORTS_BOTH_MMU
|
## select ARCH_SUPPORTS_BOTH_MMU
|
||||||
## select ARCH_DEFAULT_LE
|
## select ARCH_DEFAULT_LE
|
||||||
## select ARCH_SUPPORTS_WITH_ARCH
|
## select ARCH_SUPPORTS_WITH_ARCH
|
||||||
|
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
##
|
##
|
||||||
## help The NIOS2 architecture, as defined by:
|
## help The NIOS2 architecture, as defined by:
|
||||||
## help http://www.altera.com
|
## help http://www.altera.com
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
## no-package
|
## no-package
|
||||||
## select ARCH_SUPPORTS_32
|
## select ARCH_SUPPORTS_32
|
||||||
## select ARCH_DEFAULT_32
|
## select ARCH_DEFAULT_32
|
||||||
## select ARCH_USE_MMU
|
## select ARCH_SUPPORTS_BOTH_MMU
|
||||||
|
## select ARCH_DEFAULT_HAS_MMU
|
||||||
|
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
## select ARCH_SUPPORTS_EITHER_ENDIAN
|
## select ARCH_SUPPORTS_EITHER_ENDIAN
|
||||||
## select ARCH_DEFAULT_LE
|
## select ARCH_DEFAULT_LE
|
||||||
## select ARCH_REQUIRES_MULTILIB
|
## select ARCH_REQUIRES_MULTILIB
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
## select ARCH_SUPPORTS_32
|
## select ARCH_SUPPORTS_32
|
||||||
## select ARCH_SUPPORTS_64
|
## select ARCH_SUPPORTS_64
|
||||||
## select ARCH_DEFAULT_32
|
## select ARCH_DEFAULT_32
|
||||||
## select ARCH_USE_MMU
|
## select ARCH_SUPPORTS_BOTH_MMU
|
||||||
|
## select ARCH_DEFAULT_HAS_MMU
|
||||||
|
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
## select ARCH_SUPPORTS_WITH_CPU
|
## select ARCH_SUPPORTS_WITH_CPU
|
||||||
## select ARCH_SUPPORTS_WITH_TUNE
|
## select ARCH_SUPPORTS_WITH_TUNE
|
||||||
## select ARCH_SUPPORTS_WITH_FLOAT
|
## select ARCH_SUPPORTS_WITH_FLOAT
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
## select ARCH_DEFAULT_LE
|
## select ARCH_DEFAULT_LE
|
||||||
## select ARCH_SUPPORTS_BOTH_MMU
|
## select ARCH_SUPPORTS_BOTH_MMU
|
||||||
## select ARCH_DEFAULT_HAS_MMU
|
## select ARCH_DEFAULT_HAS_MMU
|
||||||
|
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
|
|
||||||
## help The xtensa architecture
|
## help The xtensa architecture
|
||||||
## help
|
## help
|
||||||
|
@ -17,7 +17,7 @@ config ARCH_BINFMT_ELF
|
|||||||
config ARCH_BINFMT_FLAT
|
config ARCH_BINFMT_FLAT
|
||||||
bool
|
bool
|
||||||
prompt "Flat"
|
prompt "Flat"
|
||||||
depends on ! ARCH_USE_MMU
|
depends on ! ARCH_USE_MMU && ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
help
|
help
|
||||||
This will build flat binaries, suitable for
|
This will build flat binaries, suitable for
|
||||||
MMU-less architectures.
|
MMU-less architectures.
|
||||||
|
@ -92,6 +92,10 @@ config ARCH_USE_MMU
|
|||||||
lacks an MMU (eg. ARM Cortex-M3), while other variants
|
lacks an MMU (eg. ARM Cortex-M3), while other variants
|
||||||
have one (eg. ARM Cortex-A8).
|
have one (eg. ARM Cortex-A8).
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
config ARCH_SUPPORTS_FLAT_FORMAT
|
||||||
|
bool
|
||||||
|
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
config ARCH_SUPPORTS_EITHER_ENDIAN
|
config ARCH_SUPPORTS_EITHER_ENDIAN
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user