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 # Options specific to crosstool-NG acting as a backend
5 option env="CT_IS_A_BACKEND"
9 default y if IS_A_BACKEND = "y" || IS_A_BACKEND = "Y"
10 default n if IS_A_BACKEND != "y" && IS_A_BACKEND != "Y"
14 option env="CT_BACKEND_ARCH"
18 option env="CT_BACKEND_KERNEL"
22 option env="CT_BACKEND_LIBC"