build: unify target independent optimization options
[openwrt/svn-archive/archive.git] / Config.in
index 33c0f8c8ea710787b60905a8373a107e1f61c6ac..0ef2f1413d79b365df141646bd6742a7d550421a 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -141,14 +141,14 @@ menu "Target Images"
 
        config TARGET_ROOTFS_INCLUDE_KERNEL
                bool "include kernel in rootfs"
-               depends TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS
+               depends on TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS
                default n if USES_UBIFS
                help
                  Include the kernel image in the rootfs
 
        config TARGET_ROOTFS_INCLUDE_DTB
                bool "include dtb in rootfs"
-               depends TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS
+               depends on TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS
                default n if USES_UBIFS
                help
                  Include the device tree blob file in the rootfs
@@ -325,6 +325,10 @@ menu "Global build settings"
        config KERNEL_KEXEC
                bool "Enable kexec support"
 
+       config USE_RFKILL
+               bool "Enable rfkill support"
+               default RFKILL_SUPPORT
+
        #
        # CGROUP support symbols
        #
@@ -843,6 +847,12 @@ menuconfig DEVEL
                  in the package directory, pointing to the .git tree that you want
                  to pull the source code from
 
+       config EXTRA_OPTIMIZATION
+               string "Additional compiler options" if DEVEL
+               default "-fno-caller-saves"
+               help
+                 Extra Target-independent optimizations to use when building for the target.
+
 menuconfig TARGET_OPTIONS
        bool "Target Options"  if DEVEL