scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.
Call to get the directory mode depending on $CT_SYS_OS
yann.morin.1998@anciens.enib.fr:
CT_SYS_OS has changed on Linuxsystem, it only gets the kernel name "Linux",
and not the system name, 'GNU/'.
1 # Binary utilities menu
3 menu "Binary utilities"
7 prompt "Binary format:"
9 if ARCH_USE_MMU || BARE_METAL
11 config ARCH_BINFMT_ELF
15 This will make your system build ELF exectubales,
16 suitable for architectures with an MMU.
22 config ARCH_BINFMT_FLAT
26 This will build flat binaries, suitable for
27 MMU-less architectures.
29 config ARCH_BINFMT_FDPIC
33 This will build FD_PIC ELF binaries, suitable for
34 MMU-less architectures that still require to use
35 shared libraries (FIXME).
37 endif # ! ARCH_USE_MMU
41 source "config/binutils/binutils.in"
42 source "config/binutils/elf2flt.in"
43 source "config/binutils/sstrip.in"