1 # Copyright (C) 2006-2013 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 bool "Advanced configuration options (for developers)"
12 bool "Show broken platforms / packages" if DEVEL
16 string "Binary folder" if DEVEL
19 Store built firmware images and filesystem images in this directory.
20 If not set, uses './bin/$(BOARD)'
22 config DOWNLOAD_FOLDER
23 string "Download folder" if DEVEL
26 Store downloaded source bundles in this directory.
27 If not set then defaults to './dl', which is removed by operations such as
28 'git clean -xdf' or 'make distclean'.
29 This option is useful if you have a low bandwidth Internet connection, and by
30 setting a path outside the OpenWrt tree downloads will be saved.
33 string "Local mirror for source packages" if DEVEL
37 bool "Automatic rebuild of packages" if DEVEL
40 Automatically rebuild packages when their files change.
43 string "Build suffix to append to the target BUILD_DIR variable" if DEVEL
46 Build suffix to append to the BUILD_DIR variable, i.e: './build_dir/{target-build-dir}_$(BUILD_SUFFIX)'.
47 This allows you to switch to a different .config whilst retaining all the build
48 objects generated by the first .config
50 config TARGET_ROOTFS_DIR
51 string "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
54 Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with
55 custom path. Use this option to re-define the location of the target
56 root filesystem directory.
59 bool "Use ccache" if DEVEL
62 Compiler cache; see http://ccache.samba.org/.
64 config EXTERNAL_KERNEL_TREE
65 string "Use external kernel tree" if DEVEL
68 config KERNEL_GIT_CLONE_URI
69 string "Enter git repository to clone" if DEVEL
72 Enter the full git repository path i.e.:
73 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
74 This will create a git clone of the kernel in your build directory.
76 config KERNEL_GIT_LOCAL_REPOSITORY
77 string "Enter path to local reference repository" if DEVEL
78 depends on (KERNEL_GIT_CLONE_URI != "")
81 Enter a full pathname to a local reference git repository.
82 In this instance, the --reference option of git clone will
83 be used thus creating a quick local clone of your repo.
85 config KERNEL_GIT_BRANCH
86 string "Enter git branch to clone" if DEVEL
87 depends on (KERNEL_GIT_CLONE_URI != "")
90 Enter the branch name to checkout after cloning the git repository.
91 In this instance, the --branch option of git clone will be used.
92 If unused, the clone's repository HEAD will be checked-out.
95 bool "Enable log files during build process" if DEVEL
97 If enabled, log files will be written to the ./log directory.
99 config SRC_TREE_OVERRIDE
100 bool "Enable package source tree override" if DEVEL
102 If enabled, you can force a package to use a git tree as source
103 code instead of the normal tarball. Create a symlink 'git-src'
104 in the package directory, pointing to the .git tree that you want
105 to pull the source code from.
107 config EXTRA_OPTIMIZATION
108 string "Additional compiler options" if DEVEL
109 default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN && !arc
110 default "-fno-caller-saves"
112 Extra target-independent optimizations to use when building for the target.