add "patented"-build flag to allow packages being with and without patented technology
[openwrt/staging/dedeckeh.git] / Config.in
index 704ba3dd24b2bc4af2fc9e880e0faa5f2ef15935..ffe1147f44c70d028c4048edf705dd6e25ff9ee7 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.
@@ -90,6 +88,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"
@@ -165,9 +170,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
@@ -193,13 +214,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"