blob: 28eeee9d2c7a8cbd102be28adc389d1e75debf98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 ]
|