config/debug/gdb.in.native
author Kévin PETIT <kpet@free.fr>
Sun Aug 28 20:12:26 2011 +0200 (2011-08-28)
changeset 2647 cb0f31fe2535
parent 2098 9a8f0e3fe605
child 2717 13df2720b374
permissions -rw-r--r--
libc/newlib: add a config option allowing to disable builtin syscalls

Allows to choose if one wants to keep or not the syscalls that are provided with
newlib. It passes the --disable-newlib-supplied-syscalls or
--enable-newlib-supplied-syscalls to the configure script. If one chooses to
disable the builtin syscalls, he/she will have to write his/her own. This can
be usefull to port newlib to a new platform/board.

Signed-off-by: Kévin PETIT <kpet@free.fr>
     1 # Menu for the native GDB
     2 
     3 config GDB_NATIVE
     4     bool
     5     prompt "Native gdb"
     6     depends on ! BARE_METAL
     7     depends on ! BACKEND
     8     help
     9       Build and install a native gdb for the target, to run on the target.
    10 
    11 if GDB_NATIVE
    12 
    13 config GDB_NATIVE_NO_STATIC
    14     bool
    15 
    16 config GDB_NATIVE_STATIC
    17     bool
    18     prompt "Build a static native gdb"
    19     depends on ! GDB_NATIVE_NO_STATIC
    20     help
    21       In case you have trouble with dynamic loading of shared libraries,
    22       you will find that a static gdb comes in handy.
    23 
    24 endif # GDB_NATIVE