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 # Menu for the native gdbserver
7 depends on ! BARE_METAL
9 Build and install a gdbserver for the target, to run on the target.
13 config GDB_GDBSERVER_STATIC
15 prompt "Build a static gdbserver"
18 In case you have trouble with dynamic loading of shared libraries,
19 you will find that a static gdbserver comes in handy.
24 comment "In bare-metal, you'll need to "
25 comment "provide your own gdbserver stub."