summaryrefslogtreecommitdiff
path: root/toolchain/dependencies
AgeCommit message (Collapse)Author
2010-12-16dependencies: add unzipThomas Petazzoni
unzip is needed to uncompress at91bootstrap, so let's add it as a dependency. This can be discussed, and if we think it shouldn't be a new dependency, we can also build a host-unzip. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-08ccache: rework ccache managementThomas Petazzoni
* 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-09-30sed: get rid of host-sed variantPeter Korsgaard
And all the infrastructure surrounding it. A broken sed implementation is quite rare nowadays, as seen by the fact that the current host-sed support has been broken for a while, so just get rid of it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-11Detect early if an UTF-8 locale is neededThomas Petazzoni
Check in toolchain/dependencies/dependencies.sh if an UTF-8 locale is properly present on the system before trying to build a locale enabled toolchain. As this test is only needed when a locale enabled toolchain is going to be built, we pass the configuration file path to the dependencies.sh script so that it can grep for the current value of various options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29dependencies: add svn as a mandatory toolThomas Petazzoni
Now that two packages (tremor and libsvgtiny) are being downloaded from svn, svn becomes a mandatory tool to run Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-21check-host-sed.sh: use mktemp for temporary filePeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-09dependencies.sh: fix CWD in PATH checkNick Leverton
Closes #1999 Signed-off-by: Nick Leverton <nick@leverton.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22dependencies: check that . is not in the PATHThomas Petazzoni
Having . in the PATH makes the toolchain build process fail because it confuses host tools and target tools. This fixes bug #75. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-22dependencies: fix tests on LD_LIBRARY_PATHThomas Petazzoni
Things like LD_LIBRARY_PATH=. or even LD_LIBRARY_PATH=.:/usr/lib were not detected as incorrect. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07libxcb: fix path to Python modulesThomas Petazzoni
When building libxcb, the variable XCBPROTO_XCBPYTHONDIR must point to the location where the Python modules needed to run the c_client.py program are installed. The path $(STAGING_DIR)/usr/lib/python2.6/site-packages was hardcoded. However, it doesn't work when the version of Python installed on the host is Python 2.5. Therefore, add a little bit of magic to compute the host Python version. We also verify that Python is available on the host, as we don't build it in Buildroot. Fixes bug #1531. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06check-host-sed.sh: add missing shebang linePeter Korsgaard
Bash seems to be smart enough to source the file when execve returns ENOEXEC, but other shells might not be. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-09target/cpio: cleanupThomas Petazzoni
* Remove the dependency on BR2_HOST_FAKEROOT, since we don't have config option for host tools. * Remove a few useless things. * Check that cpio is available on the host in toolchain/dependencies/dependencies.sh. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-06dependencies: we need tar and wget as wellPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23dependencies: add perl as a mandatory dependencyThomas Petazzoni
Now that we might happen to build libxml-parser-perl and intltool, Perl becomes a mandatory dependency. This shouldn't be a problem since most distributions install Perl by default anyway. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23dependencies: add gzip and bzip2 as base dependenciesThomas Petazzoni
They are needed to uncompress the tarballs we download. bzip2, for instance, is not necessarly installed by default on basic Debian systems. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-16dependencies: cleanupThomas Petazzoni
Factorize some of the tests done by toolchain/dependencies/dependencies.sh (check for unset environment variables and check for required programs). Make the output less verbose by only showing something when something is not present. Some messages were really silly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15dependencies: remove useless test doing nothingThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15dependencies: bail out if makeinfo isn't foundThomas Petazzoni
makeinfo is mandatory at least to build a toolchain. Currently, dependencies.sh doesn't fail if makeinfo is not present and only displays a message that can easily be lost. The user will then encounter the issue later, when it is more difficult to understand what's happening. So, this patch simply does for makeinfo what the script does for the other dependencies: bail out if they aren't available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-10-02dependencies: check for 'patch'Peter Korsgaard
We need patch for patch-kernel.sh, so verify that it's available before building. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30dependencies: check for >= make 3.81Peter Korsgaard
Reported by Andrew Dyer <amdyer@gmail.com> and Lionel Landwerlin <lionel.landwerlin@openwide.fr>. Seems like make 3.80 has problems with our Makefile.autotools.in infrastructure. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-01-01dependencies: simplistic SHELL = bash checkPeter Korsgaard
2008-09-04Applied change from Ben Nizette and Hans-Christian Egtvedt toHamish Moffatt
correctly detect version of gcc on recent distros. Supplied patch was against git and didn't apply cleanly to svn, so applied by hand.
2008-06-18dependencies: check for awkPeter Korsgaard
2007-08-22- improve the way host prerequisites for "dependencies" are establishedBernhard Reutner-Fischer
2007-08-21- make sure that sstrip is available early enoughBernhard Reutner-Fischer
2007-08-21- add handling of lzma for the host (unconditionally for now)Bernhard Reutner-Fischer
- remove non-working attempt to install an lzma to the host via sudo
2007-08-20Add BUILDROOT_DL_DIR to dependencies.sh and fix whitespace damage (sorry)Ulf Samuelsson
2007-06-26- check for clean environment variables ARCH, CROSS_COMPILE, GREP_OPTIONSBernhard Reutner-Fischer
2007-06-05- fix typo in version checkBernhard Reutner-Fischer
2007-05-11- ignore eventual errors from which(1)Bernhard Reutner-Fischer
2007-03-21- ignore errors when looking at hostcc and hostcxxBernhard Reutner-Fischer
2007-03-21- stop using head and use sed -e '1d' at the end insteadBernhard Reutner-Fischer
2007-03-12- fix syntaxBernhard Reutner-Fischer
2007-03-10- fixes for bugs introduced with the MacOS10 support (Heikki Lindholm)Bernhard Reutner-Fischer
2007-03-09Improve the checking of sed by adding some common GNU sed installationBernhard Reutner-Fischer
names (gsed/gnused), checking for a basic OS X sed feature in command line option handling, checking the actual result of the sed run against the expected result, and placing common code for the check under toolchain/dependencies/. (Heikki Lindholm)
2007-03-08- Propagate HOST_SED_DIR to the dependencies script so that it may use theBernhard Reutner-Fischer
local sed build as well (Heikki Lindholm).
2007-02-16- mention the package that usually provides makeinfoBernhard Reutner-Fischer
2007-02-15- might make sense not to print ok if it was nakBernhard Reutner-Fischer
2007-02-15- warn about missing makeinfo on the host.Bernhard Reutner-Fischer
2007-02-12- cosmeticsBernhard Reutner-Fischer
2007-02-09- add paranoia warning about $INCLUDESBernhard Reutner-Fischer
2007-02-09- add purely informational check of HOSTCXXBernhard Reutner-Fischer
2007-01-21- remove sedtest temporary fileBernhard Reutner-Fischer
2007-01-20- pass MAKE in so we can check the correct binary for it's version..Bernhard Reutner-Fischer
2007-01-19- add sanity check to make sure that LD_LIBRARY_PATH doesn't contain CWDBernhard Reutner-Fischer
2006-12-13- spelling fixBernhard Reutner-Fischer
2006-12-13fix cut-n-paste typo, where I replaced CFLAGS with two copies CXXFLAGSEric Andersen
fix spacing on env var failure notices
2006-12-13add checks for when people have foolishly set things in their enviromentEric Andersen
such as CC, CFLAGS, etc that will cause buildroot to break
2006-12-08use '/bin/echo -e' to make certain we don't use an unusable /bin/sh builtinEric Andersen
2006-11-29- move check for which(1) before it's first useBernhard Reutner-Fischer
- fix printing a message when erroring out on non-existing HOSTCC