| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
chroot is used in morph, an absolute path would cause problems
later in the build, when /tools is the prefix, so PATH needs
to be able to find chroot, so the usual sbin needs to be included.
|
|
|
|
|
| |
The required metadata is not written to the cache any more. This
should be re-implemented.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
It might be the cause of weird internal binutils and gcc errors.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
bash variable expansion behaves a little differently to sed
the final section's / are not treated specially
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
This reverts commit e522e8d4798dec4092fabaeb89b532e970c3296f.
pwd does not always end with /
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Pass 1 should have $tools first in the path, otherwise the wrong
compiler will be used
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
This should stop tar from replacing symbolic links with directories
and instead follow the symbolic links, extracting the files into
the linked directories
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
that meant that options weren't being passed
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
baserock-bootstrap: set cachedir so that the git cache
can be reused in pass 2 onwards
run-bootstrap-in-chroot: add more passes
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This makes it easier to re-run the bootstrap script to
resume building.
|
|
|
|
|
|
|
| |
The git-base-urls specified are now the defaults, so specifying
them should be redundant.
Also quoted the output for staging-filler
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
if it doesn't get replaced then a command may
try to use /tools/bin/env
|
| |
|
|
|
|
|
|
| |
this is pretty much just a copy of the pass 2 thing
this needs a cleanup, as there is duplicated functionality and
clashing names
|
|
|
|
|
| |
This is to make snapshots of them be small. pass2a and 2b pretty
much halved in size.
|