images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected...
[openwrt/staging/mkresin.git] / Config.in
index 1f689c0664a40d996cee3b5ae7e758399d2db1b6..4746ba418599e06c7b4d552e3bfd4387336c4cdf 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -23,9 +23,9 @@ menu "Target Images"
        choice
                prompt "ramdisk compression"
                depends TARGET_ROOTFS_INITRAMFS
-               depends !LINUX_2_6_21
                depends !LINUX_2_6_25
                default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx
+               default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
                default TARGET_INITRAMFS_COMPRESSION_NONE
                help
                  Select ramdisk compression.
@@ -63,14 +63,12 @@ menu "Target Images"
        config TARGET_ROOTFS_TGZ
                bool "tgz"
                default y if USES_TGZ
-               depends !TARGET_ROOTFS_INITRAMFS
                help
                  Build a compressed tar archive of the the root filesystem
 
        config TARGET_ROOTFS_CPIOGZ
                bool "cpiogz"
                default y if USES_CPIOGZ
-               depends !TARGET_ROOTFS_INITRAMFS
                help
                  Build a compressed cpio archive of the the root filesystem
 
@@ -170,9 +168,25 @@ choice
                depends !USE_EGLIBC
                help
                  This will install binaries stripped using sstrip
-
 endchoice
 
+config BUILD_PATENTED
+       default y
+       bool "Compile with support for patented functionality"
+       help
+         When this option is disabled, software which provides patented functionality will not be built.
+         In case software provides optional support for patented functionality,
+         this optional support will get disabled for this package.
+
+config STRIP_ARGS
+       string
+       prompt "Strip arguments"
+       depends USE_STRIP
+       default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
+       default "--strip-all"
+       help
+         Specifies arguments passed to the strip command when stripping binaries
+
 config USE_MKLIBS
        bool "Strip unnecessary functions from libraries"
        help
@@ -198,13 +212,6 @@ config DEBUG
        help
                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 IPV6
         bool
         prompt "Enable IPv6 support in packages"