-# Copyright (C) 2006-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
+# SPDX-License-Identifier: GPL-2.0-only
#
+# Copyright (C) 2006-2013 OpenWrt.org
menuconfig DEVEL
bool "Advanced configuration options (for developers)"
default n
config BROKEN
- bool "Show broken platforms / packages" if DEVEL
+ bool "Show broken platforms / packages / devices" if DEVEL
default n
config BINARY_FOLDER
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 target BUILD_DIR variable" if DEVEL
default ""
bool "Use ccache" if DEVEL
default n
help
- Compiler cache; see http://ccache.samba.org/.
+ Compiler cache; see https://ccache.samba.org/
+
+ config CCACHE_DIR
+ string "Set ccache directory" if CCACHE
+ default ""
+ help
+ Store ccache in this directory.
+ If not set, uses './.ccache'
config EXTERNAL_KERNEL_TREE
string "Use external kernel tree" if 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 KERNEL_GIT_MIRROR_HASH
+ string "Enter hash of Git kernel tree source checkout tarball" if DEVEL
+ depends on (KERNEL_GIT_CLONE_URI != "")
+ default ""
+
config BUILD_LOG
bool "Enable log files during build process" if DEVEL
help
If enabled, log files will be written to the ./log directory.
+ config BUILD_LOG_DIR
+ string "Log folder" if DEVEL
+ default ""
+ help
+ Store build logs in this directory.
+ If not set, uses './logs'
+
config SRC_TREE_OVERRIDE
bool "Enable package source tree override" if DEVEL
help
config EXTRA_OPTIMIZATION
string "Additional compiler options" if DEVEL
- default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN
+ 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.