add support for an optional staging directory for debug binaries
[openwrt/openwrt.git] / Config.in
index a952f462f87807e89242429482d184aeb452e9bb..a5b3364612c5bb85f220e7fa9bec0f4b19d0dbca 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -106,6 +106,13 @@ config DEBUG
        help
                Disables stripping and adds -g3 to the CFLAGS
 
+config DEBUG_DIR
+       bool "Install debugging binaries into a staging directory"
+       default n
+       help
+               This will install all compiled package binaries into build_dir/target-*/debug-*/,
+               useful for cross-debugging via gdb/gdbserver
+
 config NO_STRIP
        bool "Install unstripped binary on the target (useful for native compiling/debugging)"
        default n