lede/config/Config-devel.in

160 lines
5.1 KiB
Plaintext
Raw Normal View History

# SPDX-License-Identifier: GPL-2.0-only
2017-09-06 11:19:45 +00:00
#
# Copyright (C) 2006-2013 OpenWrt.org
2017-09-06 11:19:45 +00:00
menuconfig DEVEL
bool "Advanced configuration options (for developers)"
default n
config BROKEN
2021-06-15 09:58:07 +00:00
bool "Show broken platforms / packages / devices" if DEVEL
2017-09-06 11:19:45 +00:00
default n
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)'
scripts/download.pl: Make the download tool configurable (#10291) * rules.mk: Move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk Move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk as it's a better place than exporting it in the global rules.mk makefile. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> * scripts/download.pl: Make the download tool configurable Introduce a new option in the "Advanced configuration options" to configure a custom download tool. By declaring a string in "Use custom download tool" an user can force what command to use to download package. With the string empty the default tool used is curl, with wget as a fallback if not available. download.pl supports 3 tools officially aria2c, curl and wget. If one of the tool is used in this config, download.pl will use the default args to make use of them. If the provided string is different than aria2c, curl or wget, the command is used as is and the download url will be appended at the end of such command. While at it also tweak the tool selection logic and chose the tool only once when the script is called and move aria2c specific variables in the relevant section. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> * scripts/download.pl: Pass aria2 config in ENV only The aria2c command tries to load config from ${XDG_CONFIG_HOME:-${HOME}/.config}/aria2/aria2.conf by default, which may result unexpected behavior. As a replacement, people can use environment variable ARIA2C_OPTIONS to custom arguments passed to aria2c like curl and wget below. Including --conf-path=/path/to/config.conf in ARIA2C_OPTIONS can also set a custom config file path easily if needed. Signed-off-by: Zhang Hua <zhanghuadedn@gmail.com> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Zhang Hua <zhanghuadedn@gmail.com> Co-authored-by: Christian Marangi <ansuelsmth@gmail.com> Co-authored-by: Zhang Hua <zhanghuadedn@gmail.com>
2022-10-21 04:47:28 +00:00
config DOWNLOAD_TOOL_CUSTOM
string "Use custom download tool" if DEVEL
default ""
help
Use and force custom download tool instead of relying on autoselection
between curl if available and wget as a fallback.
download.pl supports 3 tools officially aria2c, curl and wget.
If one of the tool is used in this config, download.pl will use the
default args to make use of them.
If the provided string is different than aria2c, curl or wget, the command
is used as is and the download url will be appended at the end of such command.
2017-09-06 11:19:45 +00:00
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
default ""
config AUTOREBUILD
bool "Automatic rebuild of packages" if DEVEL
default y
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.
tools: update versions and sync with upstream (#10380) * expat: update to 2.5.0 Fixes CVE-2022-43680. Changes: https://github.com/libexpat/libexpat/blob/R_2_5_0/expat/Changes Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/ccache: update to 4.7 Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> * tools/ccache: update to 4.7.1 Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7_1 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> * tools/ccache: update to 4.7.2 Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7_2 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> * tools/mtools: update to 4.0.42 Release Notes: https://lists.gnu.org/archive/html/info-mtools/2022-10/msg00000.html Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/mtd-utils: update to 2.1.5 Release Notes: https://lore.kernel.org/buildroot/c0992bbb-9487-9a51-ea9f-39cf074b61ec@sigma-star.at/ Refresh patches: - 130-lzma_jffs2.patch - 320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/elfutils: update to 1.88 Release Notes: https://sourceware.org/pipermail/elfutils-devel/2022q4/005561.html Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/fakeroot: update to 1.30.1 Release Notes: https://tracker.debian.org/news/1381350/accepted-fakeroot-1301-1-source-into-unstable/ Refresh patches: - 600-macOS.patch Signed-off-by: Nick Hainke <vincent@systemli.org> * cmake: update to 3.24.3 Release Notes: https://cmake.org/cmake/help/latest/release/3.24.html Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/ninja: update to 1.11.1 Release Notes: https://github.com/ninja-build/ninja/releases/tag/v1.11.1 Refresh patches: - 100-make_jobserver_support.patch Signed-off-by: Nick Hainke <vincent@systemli.org> * tools: add option BUILD_ALL_HOST_TOOLS to compile all host tools Add option to compile all host tools even if not needed. This can be useful to prepare a universal precompiled host tools archive to use in another buildroot and speedup compilation. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Nick Hainke <vincent@systemli.org> Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Co-authored-by: Nick Hainke <vincent@systemli.org> Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com> Co-authored-by: Christian Marangi <ansuelsmth@gmail.com>
2022-11-07 01:54:08 +00:00
config BUILD_ALL_HOST_TOOLS
bool "Compile all host tools" if DEVEL
default n
help
Compile all host host tools even if not needed. This is needed to prepare a
universal precompiled host tools archive to use in another buildroot.
2017-09-06 11:19:45 +00:00
config BUILD_SUFFIX
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/{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
default ""
help
Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with
custom path. Use this option to re-define the location of the target
root filesystem directory.
config CCACHE
bool "Use ccache" if DEVEL
2021-06-28 03:37:29 +00:00
default n
2017-09-06 11:19:45 +00:00
help
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'
2017-09-06 11:19:45 +00:00
config EXTERNAL_KERNEL_TREE
string "Use external kernel tree" if DEVEL
default ""
config KERNEL_GIT_CLONE_URI
string "Enter git repository to clone" if DEVEL
default ""
help
Enter the full git repository path i.e.:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
This will create a git clone of the kernel in your build directory.
config KERNEL_GIT_LOCAL_REPOSITORY
string "Enter path to local reference repository" if DEVEL
depends on (KERNEL_GIT_CLONE_URI != "")
default ""
help
Enter a full pathname to a local reference git repository.
In this instance, the --reference option of git clone will
be used thus creating a quick local clone of your repo.
config KERNEL_GIT_REF
string "Enter git ref at which to checkout" if DEVEL
2017-09-06 11:19:45 +00:00
depends on (KERNEL_GIT_CLONE_URI != "")
default ""
help
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.
2017-09-06 11:19:45 +00:00
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 ""
2017-09-06 11:19:45 +00:00
config BUILD_LOG
bool "Enable log files during build process" if DEVEL
help
If enabled, log files will be written to the ./log directory.
2021-06-15 09:58:07 +00:00
config BUILD_LOG_DIR
string "Log folder" if DEVEL
default ""
help
Store build logs in this directory.
If not set, uses './logs'
2017-09-06 11:19:45 +00:00
config SRC_TREE_OVERRIDE
bool "Enable package source tree override" if DEVEL
help
If enabled, you can force a package to use a git tree as source
code instead of the normal tarball. Create a symlink 'git-src'
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 -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN && !arc
default "-fno-caller-saves"
help
Extra target-independent optimizations to use when building for the target.