diff options
Diffstat (limited to 'elements/bootstrap/stage2-sysroot.bst')
-rw-r--r-- | elements/bootstrap/stage2-sysroot.bst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/elements/bootstrap/stage2-sysroot.bst b/elements/bootstrap/stage2-sysroot.bst new file mode 100644 index 00000000..28eeee9d --- /dev/null +++ b/elements/bootstrap/stage2-sysroot.bst @@ -0,0 +1,25 @@ +kind: compose + +description: | + stage2-sysroot: cross-buildable minimal shell environment + C/C++ toolchain + + This is only useful when bringing up new architectures. For more + information see: http://wiki.baserock.org/guides/how-to-cross-bootstrap/ + + To build in this environment, you will likely need to delete the symlink + from /usr/bin to /tools/bin and replace it with a real directory, containing + symlinks from /usr/bin/sh to /tools/bin/sh and from /usr/bin/bash to + /tools/bin/bash. If you build GCC with the /usr/bin -> /tools/bin symlink + still in place you will end up with a GCC that doesn't work. + +depends: +- filename: gnu-toolchain/stage2.bst + type: build + +config: + # We don't run any integration commands because we might have cross-built the + # sysroot using `bst --target-arch=... build`. If this is the case, probably + # none of the binaries in the artifact will be able to execute. + integrate: false + + exclude: [ debug, doc, locale ] |