Commit Graph

159 Commits

Author SHA1 Message Date
Thomas Petazzoni
17b66affdf ccache: rework ccache management
* 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>
2010-12-08 17:51:49 +01:00
Thomas Petazzoni
5f71fc1f19 Remove support for shared configuration cache
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>
2010-11-05 10:21:17 +01:00
Peter Korsgaard
6871b16531 Config.in: wget: default to 3 retries
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>
2010-11-04 19:16:43 +01:00
Yann E. MORIN
56c68bcd3f config: use global version string
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-03 23:31:32 +01:00
Yann E. MORIN
e5e8fae892 Makefile: move version string from Config.in into Makefile
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>
2010-11-03 23:26:45 +01:00
Maxime Petazzoni
cf71111b99 Cleanup the VCS commands configuration
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>
2010-09-13 08:17:57 +02:00
Peter Korsgaard
9bc12b85e8 kick off 2010.11 development
Tree is open again.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-02 17:07:22 +02:00
Peter Korsgaard
32b8d438b3 update for 2010.08
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-01 00:07:06 +02:00
Yann E. MORIN
4973632207 packages/atk: fix Makefile
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>
2010-08-30 15:36:30 +02:00
Peter Korsgaard
dc3a7ebc26 update for 2010.08-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30 11:16:33 +02:00
Peter Korsgaard
b680672ad1 Config.in: mark BR2_CONFIG_CACHE as experimental and disable by default
As it is known to break with certain package combinations.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25 17:30:38 +02:00
Peter Korsgaard
2e7ab32c97 CHANGES: update with changes from for-2010.08 branch
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25 16:35:21 +02:00
Peter Korsgaard
2ef83b42b9 update for 2010.08-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-30 12:35:45 +02:00
Peter Korsgaard
4aeb8c851a target/device: misc cleanup
Remove outdated and/or unused variables/files.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23 22:57:54 +02:00
Peter Korsgaard
f3050b0b9e Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Conflicts:
	target/Makefile.in
2010-06-22 23:43:08 +02:00
Thomas Petazzoni
487e21cff6 New, simpler, infrastructure for building the Linux kernel
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>
2010-06-22 21:20:25 +02:00
Peter Korsgaard
b10197dcf2 target: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTO
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-22 17:41:34 +02:00
Thomas Petazzoni
649b5b9250 bootloaders: move bootloader build code to boot/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10 21:05:12 +02:00
Peter Korsgaard
dc5e22ee93 CHANGES: 2010.08 development started
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-01 22:03:05 +02:00
Peter Korsgaard
07da619d75 update for 2010.05
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-30 22:24:10 +02:00
Peter Korsgaard
170b3d3d05 hal: dbus expat option is BR2_DBUS_EXPAT
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-27 14:48:47 +02:00
Peter Korsgaard
bbd96dbaa7 update for 2010.05-rc3
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-27 14:35:04 +02:00
Peter Korsgaard
acb785cad4 Config: terminate version number string
Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-17 09:34:47 +02:00
Peter Korsgaard
93cca7c8bc Config.in: past 2010.05-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:20:54 +02:00
Peter Korsgaard
6d1ab151cb update for 2010.05-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 21:15:07 +02:00
Paulius Zaleckas
ca218debd5 X11 OpenChrome driver depends on libxcomposite
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 20:13:14 +02:00
Peter Korsgaard
aac61fdcc3 update for 2010.05-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 16:12:45 +02:00
Thomas Petazzoni
65e80a0b0b Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME
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>
2010-05-03 00:00:08 +02:00
Thomas Petazzoni
e5d07810b2 Remove the BR2_RECENT option
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12 15:28:12 +02:00
Thomas Petazzoni
60281cbfe4 Guess build system and remove BR2_GNU_BUILD_SUFFIX
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>
2010-04-11 21:10:33 +02:00
Thomas Petazzoni
bc59823bd5 Move the global config cache option to an Advanced submenu
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:10:29 +02:00
Thomas Petazzoni
aa41d377e3 Bring the three path-related options together
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:08:47 +02:00
Thomas Petazzoni
159292658f Move the command-related options to a submenu
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:08:43 +02:00
Thomas Petazzoni
b703066033 Get rid of BR2_HAVE_{MANPAGES,INFOPAGES} config options
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Thomas Petazzoni
0ed643665f Update config.{guess,sub} unconditionally
Remove the BR2_UPDATE_CONFIG option which allowed to globally
enable/disable the replacement of config.{guess,sub} for
autotools-based packages. Doing it unconditionnally just works.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 05:59:59 +02:00
Thomas Petazzoni
7a0263525f Remove BR2_PREFER_IMA
This option is barely used, no-one is maintaining it or extending
it. So let's remove it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 05:59:59 +02:00
Thomas Petazzoni
0585241505 Move all filesystem generation code to fs/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:36 +02:00
Peter Korsgaard
2bbbe05b9a Config.in: bump default JLEVEL to 2
With multicores everywhere, 2 is probably a bit low - But atleast it's
better than the current default.

This extra parallelism also ensures we get to test the make dependencies
a bit more.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-31 11:05:12 +02:00
Peter Korsgaard
291fedce66 Config.in: Bump version
Tree is open for development again.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-02 17:41:25 +01:00
Peter Korsgaard
ac1dfc84da Update for 2010.02
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-26 15:52:48 +01:00
Peter Korsgaard
7bd8125edc Update for 2010.02-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 23:28:46 +01:00
Peter Korsgaard
f0bdacdb5b update for 2010.02-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-09 16:54:30 +01:00
Peter Korsgaard
5aeecd2487 Config.in: Bump version
Tree is open for development again.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-01 15:46:57 +01:00
Peter Korsgaard
b1545cb4fa Config.in: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-01 15:23:10 +01:00
Peter Korsgaard
31bd97417b update for 2009.11-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-29 23:26:54 +01:00
Peter Korsgaard
2d04d56ec7 update for 2009.11-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 23:20:21 +01:00
Bernhard Reutner-Fischer
c45cd1fdbb enable config.cache per default
It speeds up configuration considerably.
  If a package breaks due to wrong cache-entries, then the broken
  other package has to be fixed, not the innocent bystander!

  Put short: There is absolutely _no_ need to ever turn the cache off
  unless you hack on autotools itself and goof.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 22:59:49 +02:00
Bernhard Reutner-Fischer
0bc7a43ff3 remove BR2_FPU_SUFFIX
hard/softfloat is just one of the many config options, and it only
clutters the filenames.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 22:33:52 +02:00
H Hartley Sweeten
be695dcc3c Change the default BR2_DL_DIR location
Change to default Download dir so that different 'make O=<directory>'
commands will use the same location by default without having to
create a symlink in <directory> or having to export BUILDROOT_DL_DIR.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 08:46:52 +02:00
Thomas Petazzoni
3b2a803d28 Rename the output directories
In the output directory, we now have

 - build/    where all the packages are built
 - images/   where the final kernel and rootfs images are stored
 - staging/  the staging directory (containing the development files
             and libraries compiled for the target)
 - target/   which contains the target root filesystem
 - host/     which contains all the host programs
 - stamps/   which contains the stamps files

Therefore, the build_ARCH and toolchain_build_ARCH have been
removed. People willing to use the same Buildroot sources to compile
for different architectures are invited to use the O= command line
option for out-of-tree compilation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:33:31 +02:00