build system refactoring in preparation for allowing packages to do host-build steps
[openwrt/svn-archive/archive.git] / Config.in
index a952f462f87807e89242429482d184aeb452e9bb..e412338921b185b6d4004067ae2aef2df197fea2 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -106,10 +106,31 @@ 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
 
+comment "Kernel build options"
+
+config KERNEL_KALLSYMS
+       bool "Compile the kernel with symbol table information"
+       default n
+       help
+               This will give you more information in stack traces from kernel oopses
+config KERNEL_PROFILING
+       bool "Compile the kernel with profiling enabled"
+       default n
+       help
+               Enable the extended profiling support mechanisms used by profilers such
+               as OProfile.
+
 endmenu
 
 menuconfig DEVEL
@@ -145,6 +166,14 @@ config BUILD_SUFFIX
        help
                Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
 
+config TARGET_ROOTFS_DIR
+       string
+       prompt "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
+       default ""
+       help
+               Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with custom path.
+               Use this option to re-define the location of the target root file system directory.
+
 config CCACHE
        bool
        prompt "Use ccache" if DEVEL