summaryrefslogtreecommitdiffstats
path: root/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* ccache: allow dynamic selection of cache directoryThomas De Schampheleire2012-05-181-0/+7
| | | | | | | | | | | | | | | | | | | | The existing ccache infrastructure sets the cache directory hardcoded in the ccache binary. As this directory was set to ~/.buildroot-ccache, the cache is not necessarily local (e.g. in corporate environments the home directories may be mounted over NFS.) Previous versions of buildroot did allow to set the cache directory, but this was also hardcoded (so you had to rebuild ccache to change it), plus that support was removed. See http://lists.busybox.net/pipermail/buildroot/2011-July/044511.html for a discussion on this. This patch modifies ccache to respect a new shell variable (exported from the Makefile, based on a configuration option) instead of CCACHE_DIR. The name CCACHE_DIR itself is already used by autotargets for the ccache package. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* config: improve help text and prompt for debugging related optionsThomas Petazzoni2012-03-151-12/+20
| | | | | | | | | | The help text for the choice of different stripping levels is removed, since it is not displayed by menuconfig. Instead, only the per-option help text is visible, so this text is improved. [Peter: slightly reworked text] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* debug: do not force installation of gdbserverThomas Petazzoni2012-03-151-1/+0Star
| | | | | | | | | | The BR2_ENABLE_DEBUG option selects the compilation and installation of gdbserver on the target. This is a bit restrictive, especially for external toolchains, which may already contain a gdbserver on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ccache: set COMPILERCHECK to 'none'Thomas Petazzoni2012-03-081-0/+7
| | | | | | | | | | | | | | | | This allows ccache to re-use its cache contents even if the compiler binary mtime has changed. It is the simplest approach to solve this problem, and it works for the internal, external and crosstool-ng toolchain backends. Of course, it leaves the user responsible for invalidating the cache when necessary, but there doesn't seem to be a real good solution that allows both to: 1/ keep the cache contents accross builds and re-use it and 2/ invalidate the cache automatically when the compiler chances in an incompatible way. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add basic config infrastructure for host utilitiesThomas Petazzoni2012-02-021-0/+2
| | | | | | | | | | | | | | | | | | Most of the host packages don't have to be exposed to the user as they are only used as build dependencies of target packages. However, some host utilities, such as flashing utilities, image creation programs, specific debuggers, might be useful and should be presented to the user. Therefore, we have a new global menu, which lists those host utilities. These utilities are described in package/*/Config.in.host files, which will be sourced by package/Config.in.host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for packages stored in Mercurial (hg) repositoriesThomas De Schampheleire2011-11-271-0/+4
| | | | | | | Add support for packages stored in Mercurial (hg) repositories. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* GENTARGETS: add support for scp://Thomas De Schampheleire2011-11-271-1/+12
| | | | | | | | | | | | This patch adds support for scp:// both for use in the package Makefiles, as for the BR2_PRIMARY_SITE variable. This patch was based on the work of Richard Guy Briggs (see https://bugs.busybox.net/show_bug.cgi?id=3343). [Peter: small whitespace fixes] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for local packages through 'file://' pseudo-protocolDavid Wagner2011-09-301-0/+4
| | | | | | | | | | | | | | | | | | | | This can be used this way : <pkg>_VERSION = 42 <pkg>_SITE = file:///some/local/directory <pkg>_SOURCE = mypkg-$(<pkg>_VERSION).tar.bz2 Can be useful to integrate a home-made project or for testing purposes. The default command to retrieve files is 'cp' but 'rsync' could also be used. Through sshfs, it should also be possible to get non-public remote files on a ssh server. [ Thomas Petazzoni: use $(PKG)_SITE and $(PKG)_SOURCE variables instead of $(1) and $(2) ] [ Peter: don't append $(QUIET), cp doesn't handle -q] Signed-off-by: David Wagner <david.wagner@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add configuration option to specify a local override fileThomas Petazzoni2011-09-291-0/+10
| | | | | | | | | | | | | | | | | The user can now create a custom local override file to override the source directory for various packages. An example override file: ZLIB_OVERRIDE_SRCDIR = /tmp/zlib STRACE_OVERRIDE_SRCDIR = /opt/strace-4.5.20 would tell Buildroot to use the zlib and strace source code from the specified directories, instead of download, extracting and patching the code has done usually by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile.package.in: Add BR2_XZCAT for LZMA compression typeAllan W. Nielsen2011-07-121-0/+7
| | | | | | Signed-off-by: Allan W. Nielsen <a@awn.dk> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in: use kent.dl.sourceforge.net by defaultPeter Korsgaard2011-02-091-2/+2
| | | | | | | | | | Easynews has been down for a number of days, and it is no longer in the mirror list, so use the mirror from the University of Kent instead by default. At the same time fix the link to the sf mirror list. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* debugging: do not require no strippingMike Frysinger2011-02-071-2/+2
| | | | | | | | | | | | The stripping options operate on the final image and not the intermediate builds, so requiring stripping to be disabled just to enable debugging options doesn't make much sense. Especially when working with gdbserver: only the host needs the debugging information to be available. The board can run & debug perfectly fine without it. Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: introduce HOST_DIR optionGustavo Zacarias2011-02-021-0/+10
| | | | | | | | | | | | Allow the user to define HOST_DIR in the config menu. This way when building an internal toolchain a separate (maybe shared) output directory may be defined and the toolchain can be used by multiple users and/or projects. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in: Show BR version in titlePeter Korsgaard2011-02-021-1/+1
| | | | | | | Kconfig nowadays uses the mainmenu as the title, so add the version info here, similar to how it is done in the Linux kernel. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: move sysroot to host dirGustavo Zacarias2010-12-281-13/+0Star
| | | | | | | | * Drop the BR2_STAGING_DIR option * Hardcode STAGING_DIR to $(HOST_DIR)/usr/TUPLE/sysroot Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Re-add target/generic/Config.in options to menuconfigThomas Petazzoni2010-12-161-0/+2
| | | | | | | | The options to customize the hostname, the banner and the serial port configuration are now inside a menu named 'System configuration'. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Stop referencing the crazy target/device stuffThomas Petazzoni2010-12-161-1/+0Star
| | | | | | | | | | | | | We don't need Config.in and Makefile in target/device: defconfig files are sufficient to describe the specificities of a board (architecture, compilation flags, bootloader and kernel details, etc.). However, a placeholder such as target/device will be kept in order to host things such as kernel configuration files or various board-specific patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Move Config.in.mirrors out of target/deviceThomas Petazzoni2010-12-151-1/+68
| | | | | | | | | Having Config.in.mirrors (which also to select various download sites) inside target/device sounds strange. This commit moves the contents of Config.in.mirrors directly into the main Config.in file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ccache: rework ccache managementThomas Petazzoni2010-12-081-0/+8
| | | | | | | | | | | | | | * ccache is now a normal package (both for the host and the target). * ccache option is now part of the "Build options" menu. It will automatically build ccache for the host before building anything, and will use it to cache builds for both host compilations and target compilations. * bump ccache to 3.1.3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove support for shared configuration cacheThomas Petazzoni2010-11-051-14/+0Star
| | | | | | | | | | | | | | | | | The configuration cache shared between packages, while being in principle a nice idea to speed-up the configuration of packages by avoiding repetitive identical checks, turned out to be unreliable due to the subtle differences between similar but not identical checks in different packages. After spending some time trying to fix those, we concluded that supporting the shared configuration cache is definitely too hard and too unreliable, and that we'd better get rid of it altogether. This patch therefore removes the shared configuration cache infrastructure and usage. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in: wget: default to 3 retriesPeter Korsgaard2010-11-041-1/+1
| | | | | | | Wget's builtin default of 20 retries before the backup site is used is pretty excessive when a server is down. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* config: use global version stringYann E. MORIN2010-11-031-1/+1
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile: move version string from Config.in into MakefileYann E. MORIN2010-11-031-1/+1
| | | | | | | | | This re-instates writing the version string in .config headers, and no longer provides it as a kconfig symbol in .config (it is now a variable in the Makefile, and in the environment). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Cleanup the VCS commands configurationMaxime Petazzoni2010-09-131-16/+8Star
| | | | | | | | | It's not really necessary to differenciate the commands for checking out or updating a repository. Only the path to the binary and eventual top-level flags are useful to configure. Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kick off 2010.11 developmentPeter Korsgaard2010-09-021-1/+1
| | | | | | Tree is open again. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.08Peter Korsgaard2010-09-011-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages/atk: fix MakefileYann E. MORIN2010-08-301-1/+1
| | | | | | Reported-by: "James J. Dines" <jdines@jdines.net> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.08-rc2Peter Korsgaard2010-08-301-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in: mark BR2_CONFIG_CACHE as experimental and disable by defaultPeter Korsgaard2010-08-251-2/+4
| | | | | | As it is known to break with certain package combinations. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update with changes from for-2010.08 branchPeter Korsgaard2010-08-251-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.08-rc1Peter Korsgaard2010-07-301-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/device: misc cleanupPeter Korsgaard2010-06-231-2/+0Star
| | | | | | Remove outdated and/or unused variables/files. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-06-221-1/+1
|\ | | | | | | | | Conflicts: target/Makefile.in
| * New, simpler, infrastructure for building the Linux kernelThomas Petazzoni2010-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces a single, simple, infrastructure to build the Linux kernel. The configuration is limited to : * Kernel version: a fixed recent stable version, same as kernel headers version (for internal toolchains only), custom stable version, or custom tarball URL * Kernel patch: either a local file, directory or an URL * Kernel configuration: either the name of a defconfig or the location of a custom configuration file * Kernel image: either uImage, bzImage, zImage or vmlinux. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | target: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTOPeter Korsgaard2010-06-221-7/+0Star
|/ | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bootloaders: move bootloader build code to boot/Thomas Petazzoni2010-06-101-0/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* CHANGES: 2010.08 development startedPeter Korsgaard2010-06-011-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.05Peter Korsgaard2010-05-301-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hal: dbus expat option is BR2_DBUS_EXPATPeter Korsgaard2010-05-271-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.05-rc3Peter Korsgaard2010-05-271-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config: terminate version number stringPeter Korsgaard2010-05-171-1/+1
| | | | | Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in: past 2010.05-rc2Peter Korsgaard2010-05-161-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.05-rc2Peter Korsgaard2010-05-111-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* X11 OpenChrome driver depends on libxcompositePaulius Zaleckas2010-05-031-1/+1
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.05-rc1Peter Korsgaard2010-05-031-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAMEThomas Petazzoni2010-05-031-18/+0Star
| | | | | | | | Instead of asking the user about the GNU target suffix, just compute it automatically from the other configuration options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove the BR2_RECENT optionThomas Petazzoni2010-04-121-6/+0Star
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Guess build system and remove BR2_GNU_BUILD_SUFFIXThomas Petazzoni2010-04-111-13/+0Star
| | | | | | | Instead of having a configuration option BR2_GNU_BUILD_SUFFIX, let's use config.guess to guess the build system type. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Move the global config cache option to an Advanced submenuThomas Petazzoni2010-04-111-8/+12
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Bring the three path-related options togetherThomas Petazzoni2010-04-111-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>