images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected...
[openwrt/staging/mkresin.git] / Config.in
index 71a7c7da8ac23a97f103dcfc5b9b725f6edaccf0..4746ba418599e06c7b4d552e3bfd4387336c4cdf 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -23,11 +23,9 @@ menu "Target Images"
        choice
                prompt "ramdisk compression"
                depends TARGET_ROOTFS_INITRAMFS
-               depends !LINUX_2_6_21
                depends !LINUX_2_6_25
-               depends !LINUX_2_6_27
-               depends !LINUX_2_6_28
                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.
@@ -65,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
 
@@ -90,6 +86,13 @@ menu "Target Images"
                help
                  Create some bootable ISO image
 
+       config TARGET_ROOTFS_UBIFS
+               bool "ubifs"
+               default y if USES_UBIFS
+               depends !TARGET_ROOTFS_INITRAMFS && USES_UBIFS
+               help
+                 Build a ubifs root filesystem
+
 comment "Image Options"
 
 source "target/linux/*/image/Config.in"
@@ -160,13 +163,30 @@ choice
 
        config USE_SSTRIP
                bool "sstrip"
+               depends !DEBUG
                depends !USE_GLIBC
                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
@@ -190,14 +210,7 @@ config DEBUG
        prompt "Compile packages with debugging info"
        default n
        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
+               Adds -g3 to the CFLAGS
 
 config IPV6
         bool