crosstool-ng/config/debug/gdb.in.native
Bryan Hundven b3869e933b config: Add static link check to static options
If we can't static link with gcc, then don't allow static linking.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-26 04:14:39 -08:00

24 lines
551 B
Plaintext

# Menu for the native GDB
config GDB_NATIVE
bool
prompt "Native gdb"
depends on ! BARE_METAL
depends on ! BACKEND
select EXPAT_TARGET
select NCURSES_TARGET
help
Build and install a native gdb for the target, to run on the target.
if GDB_NATIVE
config GDB_NATIVE_STATIC
bool
prompt "Build a static native gdb"
depends on CONFIGURE_has_static_link
help
In case you have trouble with dynamic loading of shared libraries,
you will find that a static gdb comes in handy.
endif # GDB_NATIVE