scripts/build/internals.sh: compile wrapper with portable options.
static linking is not possible on MacOS, and unnessecary on other systems.
The old optimization and warning flags crash the gcc on MacOS
and (imho) are a bit overdone for this software.
1 # ARM specific configuration file
4 select ARCH_SUPPORTS_32
6 select ARCH_SUPPORTS_BOTH_MMU
7 select ARCH_DEFAULT_HAS_MMU
8 select ARCH_SUPPORTS_BOTH_ENDIAN
10 select ARCH_SUPPORT_ARCH
11 select ARCH_SUPPORT_CPU
12 select ARCH_SUPPORT_TUNE
13 select ARCH_SUPPORT_FPU
15 The ARM architecture, as defined by:
20 default "arm" if ARCH_ARM_MODE_ARM
21 default "thumb" if ARCH_ARM_MODE_THUMB
25 prompt "Default instruction set mode"
26 default ARCH_ARM_MODE_ARM
28 config ARCH_ARM_MODE_ARM
32 Defaults to emitting instructions in the ARM mode.
34 config ARCH_ARM_MODE_THUMB
36 prompt "thumb (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
39 Defaults to emitting instructions in the THUMB mode.
43 config ARCH_ARM_INTERWORKING
45 prompt "Use Thumb-interworking (READ HELP)"
47 depends on EXPERIMENTAL
49 Excerpt from the gcc manual:
51 > Generate code which supports calling between the ARM and Thumb
52 > instruction sets. Without this option the two instruction sets
53 > cannot be reliably used inside one program. The default is
54 > [not to use interwork], since slightly larger code is generated
55 > when [interwork] is specified.
62 Set up the toolchain so that it generates EABI-compliant binaries.
64 config ARCH_ARM_ABI_OK
67 depends on ! ARCH_ARM_EABI
68 select ARCH_SUPPORT_ABI