kernel: make it possible for packages to select page pool support
[openwrt/staging/jow.git] / config / Config-devel.in
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2006-2013 OpenWrt.org
4
5 menuconfig DEVEL
6 bool "Advanced configuration options (for developers)"
7 default n
8
9 config BROKEN
10 bool "Show broken platforms / packages / devices" if DEVEL
11 default n
12
13 config BINARY_FOLDER
14 string "Binary folder" if DEVEL
15 default ""
16 help
17 Store built firmware images and filesystem images in this directory.
18 If not set, uses './bin/$(BOARD)'
19
20 config DOWNLOAD_TOOL_CUSTOM
21 string "Use custom download tool" if DEVEL
22 default ""
23 help
24 Use and force custom download tool instead of relying on autoselection
25 between curl if available and wget as a fallback.
26
27 download.pl supports 3 tools officially aria2c, curl and wget.
28 If one of the tool is used in this config, download.pl will use the
29 default args to make use of them.
30
31 If the provided string is different than aria2c, curl or wget, the command
32 is used as is and the download url will be appended at the end of such command.
33
34 config DOWNLOAD_FOLDER
35 string "Download folder" if DEVEL
36 default ""
37 help
38 Store downloaded source bundles in this directory.
39 If not set then defaults to './dl', which is removed by operations such as
40 'git clean -xdf' or 'make distclean'.
41 This option is useful if you have a low bandwidth Internet connection, and by
42 setting a path outside the OpenWrt tree downloads will be saved.
43
44 config LOCALMIRROR
45 string "Local mirror for source packages" if DEVEL
46 default ""
47
48 config AUTOREBUILD
49 bool "Automatic rebuild of packages" if DEVEL
50 default y
51 help
52 Automatically rebuild packages when their files change.
53
54 config AUTOREMOVE
55 bool "Automatic removal of build directories" if DEVEL
56 default n
57 help
58 Automatically delete build directories after make target completed.
59 This allows you to symlink build_dir into a scratch location, e.g. a ramdisk,
60 which does not have enough space to keep a complete build_dir.
61
62 config BUILD_ALL_HOST_TOOLS
63 bool "Compile all host tools" if DEVEL
64 default n
65 help
66 Compile all host host tools even if not needed. This is needed to prepare a
67 universal precompiled host tools archive to use in another buildroot.
68
69 config BUILD_SUFFIX
70 string "Build suffix to append to the target BUILD_DIR variable" if DEVEL
71 default ""
72 help
73 Build suffix to append to the BUILD_DIR variable, i.e: './build_dir/{target-build-dir}_$(BUILD_SUFFIX)'.
74 This allows you to switch to a different .config whilst retaining all the build
75 objects generated by the first .config
76
77 config TARGET_ROOTFS_DIR
78 string "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
79 default ""
80 help
81 Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with
82 custom path. Use this option to re-define the location of the target
83 root filesystem directory.
84
85 config CCACHE
86 bool "Use ccache" if DEVEL
87 default n
88 help
89 Compiler cache; see https://ccache.samba.org/
90
91 config CCACHE_DIR
92 string "Set ccache directory" if CCACHE
93 default ""
94 help
95 Store ccache in this directory.
96 If not set, uses './.ccache'
97
98 config KERNEL_CFLAGS
99 string "Kernel extra CFLAGS" if DEVEL
100 default "-falign-functions=32" if TARGET_bcm53xx
101 default ""
102
103 config EXTERNAL_KERNEL_TREE
104 string "Use external kernel tree" if DEVEL
105 default ""
106
107 config KERNEL_GIT_CLONE_URI
108 string "Enter git repository to clone" if DEVEL
109 default ""
110 help
111 Enter the full git repository path i.e.:
112 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
113 This will create a git clone of the kernel in your build directory.
114
115 config KERNEL_GIT_LOCAL_REPOSITORY
116 string "Enter path to local reference repository" if DEVEL
117 depends on (KERNEL_GIT_CLONE_URI != "")
118 default ""
119 help
120 Enter a full pathname to a local reference git repository.
121 In this instance, the --reference option of git clone will
122 be used thus creating a quick local clone of your repo.
123
124 config KERNEL_GIT_REF
125 string "Enter git ref at which to checkout" if DEVEL
126 depends on (KERNEL_GIT_CLONE_URI != "")
127 default ""
128 help
129 Enter the git ref at which to checkout the git repository
130 after it is cloned, and before making it a tar-ball.
131 It can be a git hash or a branch name.
132 If unused, the clone's repository HEAD will be checked-out.
133
134 config KERNEL_GIT_MIRROR_HASH
135 string "Enter hash of Git kernel tree source checkout tarball" if DEVEL
136 depends on (KERNEL_GIT_CLONE_URI != "")
137 default ""
138
139 config BUILD_LOG
140 bool "Enable log files during build process" if DEVEL
141 help
142 If enabled, log files will be written to the ./log directory.
143
144 config BUILD_LOG_DIR
145 string "Log folder" if DEVEL
146 default ""
147 help
148 Store build logs in this directory.
149 If not set, uses './logs'
150
151 config SRC_TREE_OVERRIDE
152 bool "Enable package source tree override" if DEVEL
153 help
154 If enabled, you can force a package to use a git tree as source
155 code instead of the normal tarball. Create a symlink 'git-src'
156 in the package directory, pointing to the .git tree that you want
157 to pull the source code from.
158
159 config EXTRA_OPTIMIZATION
160 string "Additional compiler options" if DEVEL
161 default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN && !arc
162 default "-fno-caller-saves"
163 help
164 Extra target-independent optimizations to use when building for the target.