summaryrefslogtreecommitdiffstats
path: root/toolchain/dependencies
Commit message (Collapse)AuthorAgeFilesLines
* dependencies: additional check for PERL_MM_OPTThomas Petazzoni2011-10-151-0/+8
| | | | | | | | | | | | | | When the user has Perl local::lib installed, its environment contains a PERL_MM_OPT variables which defines INSTALL_BASE="/some/location". Unfortunately, having this makes the build of libxml-parser-perl (and probably other Perl related packages) fail, because it complains that both PREFIX (passed in our .mk file) and INSTALL_BASE (passed from the PERL_MM_OPT environment variable) are defined. Since in Buildroot we want our PREFIX to be considered, we error out when the user has PERL_MM_OPT defined. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: add rsync as a required dependencyThomas Petazzoni2011-09-201-1/+1
| | | | | | | | | rsync can now be used for overriden package, and will also be used for other purposes in the future (optimization of toolchain copy time, etc.). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Reset critical environment variablesDaniel Nyström2010-12-291-9/+0
| | | | | | | | | | | Reset them early in top-level Makefile to ensure they're keept unset all the way through the build process. This also removes the requirement of these variables being unset globally prior the build. Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sstrip: make it a proper packageGustavo Zacarias2010-12-281-1/+1
| | | | | | | | | | | * Convert sstrip to a proper gentargets package * Use openwrt svn version, it's basically the same one we used * Change the hooks from old toolchain/sstrip to new package/sstrip * Drop the old toolchain/sstrip directory * sstrip for the target is now in Package -> Development Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* infrastructure: only require download tools when neededThomas Petazzoni2010-12-242-1/+8
| | | | | | | Instead of having to require svn, git or bzr unconditionally, only require them when one package needs them to be downloaded. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dependencies: add unzipThomas Petazzoni2010-12-161-1/+1
| | | | | | | | | 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>
* ccache: rework ccache managementThomas Petazzoni2010-12-081-1/+1
| | | | | | | | | | | | | | * 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>
* sed: get rid of host-sed variantPeter Korsgaard2010-09-303-59/+15
| | | | | | | | 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>
* Detect early if an UTF-8 locale is neededThomas Petazzoni2010-08-112-0/+13
| | | | | | | | | | | 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>
* dependencies: add svn as a mandatory toolThomas Petazzoni2010-07-291-1/+3
| | | | | | | 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>
* check-host-sed.sh: use mktemp for temporary filePeter Korsgaard2010-06-211-4/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies.sh: fix CWD in PATH checkNick Leverton2010-06-091-1/+1
| | | | | | | Closes #1999 Signed-off-by: Nick Leverton <nick@leverton.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: check that . is not in the PATHThomas Petazzoni2010-05-221-0/+15
| | | | | | | | | 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>
* dependencies: fix tests on LD_LIBRARY_PATHThomas Petazzoni2010-05-221-4/+4
| | | | | | | 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>
* libxcb: fix path to Python modulesThomas Petazzoni2010-05-071-1/+1
| | | | | | | | | | | | | | | | | | | 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>
* check-host-sed.sh: add missing shebang linePeter Korsgaard2010-05-061-0/+2
| | | | | | | 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>
* target/cpio: cleanupThomas Petazzoni2010-04-091-1/+1
| | | | | | | | | | | | * 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>
* dependencies: we need tar and wget as wellPeter Korsgaard2010-04-061-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: add perl as a mandatory dependencyThomas Petazzoni2010-02-231-1/+1
| | | | | | | | 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>
* dependencies: add gzip and bzip2 as base dependenciesThomas Petazzoni2010-02-231-1/+1
| | | | | | | | 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>
* dependencies: cleanupThomas Petazzoni2009-12-161-229/+38
| | | | | | | | | | | 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>
* dependencies: remove useless test doing nothingThomas Petazzoni2009-12-151-7/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dependencies: bail out if makeinfo isn't foundThomas Petazzoni2009-12-151-0/+1
| | | | | | | | | | | | | 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>
* dependencies: check for 'patch'Peter Korsgaard2009-10-021-0/+17
| | | | | | | We need patch for patch-kernel.sh, so verify that it's available before building. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: check for >= make 3.81Peter Korsgaard2009-09-301-2/+2
| | | | | | | | | | 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>
* dependencies: simplistic SHELL = bash checkPeter Korsgaard2009-01-011-0/+12
|
* Applied change from Ben Nizette and Hans-Christian Egtvedt toHamish Moffatt2008-09-041-2/+4
| | | | | | correctly detect version of gcc on recent distros. Supplied patch was against git and didn't apply cleanly to svn, so applied by hand.
* dependencies: check for awkPeter Korsgaard2008-06-181-0/+12
|
* - improve the way host prerequisites for "dependencies" are establishedBernhard Reutner-Fischer2007-08-221-3/+7
|
* - make sure that sstrip is available early enoughBernhard Reutner-Fischer2007-08-211-1/+5
|
* - add handling of lzma for the host (unconditionally for now)Bernhard Reutner-Fischer2007-08-212-1/+14
| | | | - remove non-working attempt to install an lzma to the host via sudo
* Add BUILDROOT_DL_DIR to dependencies.sh and fix whitespace damage (sorry)Ulf Samuelsson2007-08-201-1/+7
|
* - check for clean environment variables ARCH, CROSS_COMPILE, GREP_OPTIONSBernhard Reutner-Fischer2007-06-261-0/+22
|
* - fix typo in version checkBernhard Reutner-Fischer2007-06-051-1/+1
|
* - ignore eventual errors from which(1)Bernhard Reutner-Fischer2007-05-112-4/+4
|
* - ignore errors when looking at hostcc and hostcxxBernhard Reutner-Fischer2007-03-211-3/+3
|
* - stop using head and use sed -e '1d' at the end insteadBernhard Reutner-Fischer2007-03-211-3/+3
|
* - fix syntaxBernhard Reutner-Fischer2007-03-121-1/+1
|
* - fixes for bugs introduced with the MacOS10 support (Heikki Lindholm)Bernhard Reutner-Fischer2007-03-101-10/+4
|
* Improve the checking of sed by adding some common GNU sed installationBernhard Reutner-Fischer2007-03-092-24/+57
| | | | | | | 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)
* - Propagate HOST_SED_DIR to the dependencies script so that it may use theBernhard Reutner-Fischer2007-03-081-1/+3
| | | | local sed build as well (Heikki Lindholm).
* - mention the package that usually provides makeinfoBernhard Reutner-Fischer2007-02-161-1/+2
|
* - might make sense not to print ok if it was nakBernhard Reutner-Fischer2007-02-151-1/+2
|
* - warn about missing makeinfo on the host.Bernhard Reutner-Fischer2007-02-151-1/+6
|
* - cosmeticsBernhard Reutner-Fischer2007-02-121-1/+1
|
* - add paranoia warning about $INCLUDESBernhard Reutner-Fischer2007-02-091-0/+6
|
* - add purely informational check of HOSTCXXBernhard Reutner-Fischer2007-02-091-1/+28
|
* - remove sedtest temporary fileBernhard Reutner-Fischer2007-01-211-0/+1
|
* - pass MAKE in so we can check the correct binary for it's version..Bernhard Reutner-Fischer2007-01-201-1/+1
|
* - add sanity check to make sure that LD_LIBRARY_PATH doesn't contain CWDBernhard Reutner-Fischer2007-01-191-0/+25
|