add new option for enabling debugging symbols
[openwrt/svn-archive/archive.git] / Config.in
index b9716e8b2c1e57f6089fe8bcb83715ab47462aea..f1b72caa693257bdfcd7b014f75d36833b77bd6c 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -106,6 +106,18 @@ menuconfig BUILDOPTS
        bool
        prompt "Build Options" if DEVEL
 
+config DEBUG
+       bool
+       prompt "Enable debugging" if BUILDOPTS
+       select NO_STRIP
+       default n
+       help
+               Disables stripping and adds -g3 to the CFLAGS
+
+config NO_STRIP
+       bool "Do not strip generated binaries (enable for native compiling)" if DEVEL
+       default n
+
 config CLEAN_IPKG
        bool
        prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS
@@ -142,10 +154,6 @@ config EXTERNAL_KERNEL_TREE
        prompt "Use external kernel tree" if DEVEL
        default ""
 
-config BUILD_DEVELOPER_SYSTEM
-       bool "build a non-stripped system, so gcc can be run natively on target" if DEVEL
-       default n
-
 source "toolchain/Config.in"
 menuconfig BUILDSYSTEM_SETTINGS
     bool "Buildsystem settings"