lantiq: switch to kernel 4.14
[openwrt/staging/wigyori.git] / config / Config-devel.in
index 4d8d46b2013272f3afceecb80a16417dcf7612c3..fd7c3ead1e8e6dcb6176216a4509f12845085c0b 100644 (file)
@@ -15,10 +15,19 @@ menuconfig DEVEL
        config BINARY_FOLDER
                string "Binary folder" if DEVEL
                default ""
+               help
+                 Store built firmware images and filesystem images in this directory.
+                 If not set, uses './bin/$(BOARD)'
 
        config DOWNLOAD_FOLDER
                string "Download folder" if DEVEL
                default ""
+               help
+                 Store downloaded source bundles in this directory.
+                 If not set then defaults to './dl', which is removed by operations such as
+                 'git clean -xdf' or 'make distclean'.
+                 This option is useful if you have a low bandwidth Internet connection, and by
+                 setting a path outside the OpenWrt tree downloads will be saved.
 
        config LOCALMIRROR
                string "Local mirror for source packages" if DEVEL
@@ -30,11 +39,21 @@ menuconfig DEVEL
                help
                  Automatically rebuild packages when their files change.
 
+       config AUTOREMOVE
+               bool "Automatic removal of build directories" if DEVEL
+               default n
+               help
+                 Automatically delete build directories after make target completed.
+                 This allows you to symlink build_dir into a scratch location, e.g. a ramdisk,
+                 which does not have enough space to keep a complete build_dir.
+
        config BUILD_SUFFIX
-               string "Build suffix to append to the BUILD_DIR variable" if DEVEL
+               string "Build suffix to append to the target BUILD_DIR variable" if DEVEL
                default ""
                help
-                 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix.
+                 Build suffix to append to the BUILD_DIR variable, i.e: './build_dir/{target-build-dir}_$(BUILD_SUFFIX)'.
+                 This allows you to switch to a different .config whilst retaining all the build
+                 objects generated by the first .config
 
        config TARGET_ROOTFS_DIR
                string "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
@@ -48,7 +67,7 @@ menuconfig DEVEL
                bool "Use ccache" if DEVEL
                default n
                help
-                 Compiler cache; see http://ccache.samba.org/.
+                 Compiler cache; see https://ccache.samba.org/
 
        config EXTERNAL_KERNEL_TREE
                string "Use external kernel tree" if DEVEL
@@ -71,13 +90,14 @@ menuconfig DEVEL
                  In this instance, the --reference option of git clone will
                  be used thus creating a quick local clone of your repo.
 
-       config KERNEL_GIT_BRANCH
-               string "Enter git branch to clone" if DEVEL
+       config KERNEL_GIT_REF
+               string "Enter git ref at which to checkout" if DEVEL
                depends on (KERNEL_GIT_CLONE_URI != "")
                default ""
                help
-                 Enter the branch name to checkout after cloning the git repository.
-                 In this instance, the --branch option of git clone will be used.
+                 Enter the git ref at which to checkout the git repository
+                 after it is cloned, and before making it a tar-ball.
+                 It can be a git hash or a branch name.
                  If unused, the clone's repository HEAD will be checked-out.
 
        config BUILD_LOG
@@ -95,6 +115,7 @@ menuconfig DEVEL
 
        config EXTRA_OPTIMIZATION
                string "Additional compiler options" if DEVEL
+               default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN && !arc
                default "-fno-caller-saves"
                help
                  Extra target-independent optimizations to use when building for the target.