summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Dump build times of all passes in baserock-bootstrap.Jannis Pohlmann2012-04-121-0/+84
| | | | | | This commit renames extract-build-times.py to dump-build-times and makes use of it after every pass in baserock-bootstrap. This will add the build times of all chunks to the bootstrap log.
* Include /tools/{lib,lib64} in LD_LIBRARY_PATH for pass 2.Jannis Pohlmann2012-04-051-0/+1
|
* Pass CFLAGS=-O2 to everything from outside.Jannis Pohlmann2012-03-271-2/+2
| | | | | | At some point we will want to have a concept of a target architecture that includes default compiler flags etc. but for now, --target-cflags will do.
* Use -mfloat-abi=softfp for now until we have GCC > 4.4 in the chroot.Jannis Pohlmann2012-03-271-1/+1
| | | | | | | | | | | The combination -mfpu=vfpv3-d16 =mfloat-abi=hard is only supported from GCC > 4.5, according to http://wiki.debian.org/ArmHardFloatPort/VfpComparison If we want hard float we'll have to switch to a more recent version of GCC installed in the squeeze chroot we run baserock-bootstrap in. Upstream GCC 4.5 supports it, as does the CodeSourcery 2009q1 compiler.
* Add --target-cflags option; set arch/fp in baserock-bootstrap on ARM.Jannis Pohlmann2012-03-261-3/+8
| | | | | | | | The --target-cflags option is really just a temporary solution. At some point we will want to have a proper target architecture/device description that morph uses to define compiler flags etc. For now, I hope this will do.
* Remove unused code in baserock-bootstrap.Jannis Pohlmann2012-03-211-21/+0
|
* Set --no-ccache for morph in pass 1.Jannis Pohlmann2012-03-201-0/+1
| | | | It might be the cause of weird internal binutils and gcc errors.
* baserock-bootstrap: switch from topic branchRichard Maw2012-03-191-2/+2
|
* Merge remote branch 'origin/master' into rm/morph-pass1Richard Maw2012-03-191-6/+2
|\
| * Use the bootstrap-pass2.morph stratum for pass 2.Jannis Pohlmann2012-03-161-7/+3
| |
* | bootstrap: fix lfs substitutionRichard Maw2012-03-191-1/+1
| | | | | | | | | | bash variable expansion behaves a little differently to sed the final section's / are not treated specially
* | bootstrap: convert double slash to singleRichard Maw2012-03-191-0/+1
| | | | | | | | | | | | | | | | pwd may be just /, at which point LFS begins with // Python's distutils fails to compile when --prefix is //tree/tools and --root is given as it installs to //tree/tools but tries to compile files in --root. This works without the double slash, so fix it
* | Revert "bootstrap: fix path beginning with //"Richard Maw2012-03-191-1/+1
| | | | | | | | | | This reverts commit e522e8d4798dec4092fabaeb89b532e970c3296f. pwd does not always end with /
* | bootstrap: fix path beginning with //Richard Maw2012-03-191-1/+1
| | | | | | | | | | | | | | This strangely breaks python's distutils so setup.py fails. if --prefix is //tree/tools then it ignores --root when it copies the files, however when it later goes to compile the scripts it does use --root so it fails to find the files.
* | bootstrap: fix path for pass 1Richard Maw2012-03-161-2/+0
| | | | | | | | | | Pass 1 should have $tools first in the path, otherwise the wrong compiler will be used
* | Merge remote branch 'origin/master' into rm/morph-pass1Richard Maw2012-03-161-0/+1
|\ \ | |/
| * tar: add -h option to extractionRichard Maw2012-03-161-2/+2
| | | | | | | | | | | | This should stop tar from replacing symbolic links with directories and instead follow the symbolic links, extracting the files into the linked directories
* | Merge branch 'master' into rm/morph-pass1-mergeRichard Maw2012-03-161-14/+40
|\ \ | |/
| * Move pass1_file to the top right after pass1_zlib.Jannis Pohlmann2012-03-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | This fixes a strange issue where the file binary will segfault in __libc_start_main() because it uses the host runtime dynamic linker and not the on in /tree/tools. The host's ld-linux comes from eglibc 2.12 and the rtld_global_ro struct in 2.12 has a different size than the one in eglibc 2.15. This, the _rtld_global_ro.dl_audit pointer gets corrupted and __libc_start_main() segfaults. This is miraculously fixed by building file immediately after zlib.
| * Only create the libgcc_eh.a link if the system doesn't have that file.Jannis Pohlmann2012-03-151-1/+4
| |
| * Add ARM include files to the headers to be modified.Jannis Pohlmann2012-03-151-1/+2
| | | | | | | | | | | | | | | | This was mentioned on http://www.linuxfromscratch.org/hints/downloads/files/lfs70armhint.txt as one of the things that need to be changed to build LFS 7.0 on ARM.
| * Add switch to set gnueabi LFS_TARGET on ARM.Jannis Pohlmann2012-03-151-1/+6
| |
| * Measure the time it takes to unpack things.Jannis Pohlmann2012-03-141-1/+1
| |
| * Run all builds/downloads in "time" to measure how long they take.Jannis Pohlmann2012-03-141-47/+47
| |
| * Add pass1_ccache() after zlib.Jannis Pohlmann2012-03-131-1/+24
| |
* | bootstrap: fix typoRichard Maw2012-03-151-1/+1
| | | | | | | | that meant that options weren't being passed
* | bootstrap: set tempdir and install flexRichard Maw2012-03-151-8/+10
| | | | | | | | | | | | | | flex is needed in binutils tempdir needs to be set as binutils' install script expects the files to be in an absolute path also use $LFS in paths
* | baserock-bootstrap: disable distcc for buildRichard Maw2012-03-151-0/+1
| | | | | | | | | | | | binutils ./configure fails because distcc is not found in the debian squeeze chroot. I am not sure how it is trying to invoke distcc, but we probably don't want it in pass1 anyway
* | bootstrap: more passes and keep cacheRichard Maw2012-03-151-6/+9
| | | | | | | | | | | | baserock-bootstrap: set cachedir so that the git cache can be reused in pass 2 onwards run-bootstrap-in-chroot: add more passes
* | bootstrap: convert pass1 to use morphRichard Maw2012-03-151-812/+70
|/ | | | | | | | | | | | run-bootstrap-in-chroot: add cliapp to squeeze-chroot baserock-bootstrap: * remove use of sudo, the script expects to be run with sufficient privilidges * remove multiple unused variables and functions * replace the build instructions with a call to morph with a stratum that should have all the required programs with --prefix and --toolchain-target set
* Add untested support for ccache through the CCACHE_HOST_DIR variable.Jannis Pohlmann2012-03-091-0/+1
| | | | | | | This variable can optionally be set outside the squeeze chroot (that is, outside the run-bootstrap-in-chroot script. The directory is then bind mounted into the chroot and baserock-bootstrap will set its CCACHE_DIR to the location inside the chroot.
* Fix the path to eglibc's config.guess.Jannis Pohlmann2012-03-081-1/+1
|
* Use cliapp 0.27 in baserock-bootstrap and wget-list.Jannis Pohlmann2012-03-081-6/+6
|
* Detect number of CPUs in baserock-bootstrap using case-insens. grep.Jannis Pohlmann2012-03-071-1/+1
|
* bootstrap: don't move cache if already movedRichard Maw2012-03-061-3/+5
| | | | | This makes it easier to re-run the bootstrap script to resume building.
* bootstrap: remove redundant options, add quotesRichard Maw2012-02-291-13/+5
| | | | | | | The git-base-urls specified are now the defaults, so specifying them should be redundant. Also quoted the output for staging-filler
* Make ./check check for long lines (with excptions); fix long linesLars Wirzenius2012-02-271-12/+19
|
* Expand TAB characters and make check check for themLars Wirzenius2012-02-271-7/+7
|
* bootstrap script: remove exit 1 if it succeededRichard Maw2012-02-271-1/+0
|
* Drop all references to glibc, use eglibc tarball from roadtrain.Jannis Pohlmann2012-02-241-29/+0
|
* Use eglibc instead of glibc in pass1.Jannis Pohlmann2012-02-241-1/+34
|
* baserock-bootstrap: always recreate do-chrootRichard Maw2012-02-171-12/+6
| | | | | if it doesn't get replaced then a command may try to use /tools/bin/env
* baserock-bootstrap: use --no-git-update in buildRichard Maw2012-02-171-0/+2
|
* baserock-bootstrap: cache the sources in pass 3Richard Maw2012-02-171-4/+59
| | | | | | this is pretty much just a copy of the pass 2 thing this needs a cleanup, as there is duplicated functionality and clashing names
* Remove unnecessary stuff from passesLars Wirzenius2012-02-171-0/+25
| | | | | This is to make snapshots of them be small. pass2a and 2b pretty much halved in size.
* baserock-bootstrap: keep git cache between stagesRichard Maw2012-02-171-3/+4
| | | | | | | | The git cache is currently under the chunk cache, so moving the chunk cache moves the gits. We don't want to have to do that all again. Also added quotes in case $LFS ever has spaces in it
* baserock-bootstrap: Allow submodules in stage 2Richard Maw2012-02-171-2/+0
|
* Do not use pass2 morph cache in pass3Lars Wirzenius2012-02-161-3/+8
|
* Remove pointless re-freshing of cached git repos from pass3 buildLars Wirzenius2012-02-161-15/+0
|
* Simplify bootstrap dir tree; split pass2 into two partsLars Wirzenius2012-02-161-8/+53
|