summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/stage2-gcc.bst
Commit message (Collapse)AuthorAgeFilesLines
* Put in some corrections for known buildstream architectureslachlanmackenzie/sanitize_and_correct_buildstream_architecturesLachlan Mackenzie2019-01-111-1/+1
|
* Update buildstream to 1.1.3franred/point-to-Update-buildstream-1.1.3Francisco Redondo Marchena2018-06-041-2/+2
| | | | | | | | | | Set up/Hard code STAGE2_SYSROOT to the root directory instead of calculating it depending on the current directory because buildstream has changed the default value of "build-root" directory and this was causing issues in the stage2 packages. See https://gitlab.com/BuildStream/buildstream/issues/414 for more information. Bump also the SHA of bst-external to fcd1fc365d0250bffe02937c89dcc31d11c299cf
* Replace use of architecture conditionals with generic project conditionsSam Thursfield2017-11-051-29/+45
| | | | | | | | | | | | The initial implementation of architecture conditionals has been removed, as the same behaviours can be implemented using the more generic mechanism for conditionals that is being introduced for BuildStream 1.0. We now have two architecture options: build_arch and arch. They are documented in project.conf. The first one controls the build sandbox while the second controls the host and target of the binaries we produce.
* gnu-toolchain: Fix armv8l64 looking in the wrong place for librariesJonathan Maw2017-10-251-5/+5
|
* gnu-toolchain: Fix libgcc_s.so being installed with a bad symlinkJonathan Maw2017-10-251-3/+3
| | | | | | | | | | | This is currently because fhs-dirs makes /lib a symlink to /usr/lib, and buildstream mangles symlink paths from absolute paths to relative paths. The symlink ../tools/lib/libgcc_s.so ends up in /usr/lib, breaking things. This fixes that by explicitly installing the symlink to /usr/lib
* gnu-toolchain: Fix debug stripping for cross-builds of stage2Sam Thursfield2017-08-311-0/+4
| | | | | | | | | | | | The stage2 elements were all using the default strip-commands which don't take into account the fact that we might be cross-compiling. An `objcopy` build for one architecture will ignore binaries for other architectures that it doesn't understand, so in practice no stripping was taking place for the stage2 components when we were doing cross-builds. With this change, a stage2 sysroot containing just the 'runtime' and 'devel' domains has gone from 889MB to 306MB.
* Support cross-building the stage1 and stage2 componentsSam Thursfield2017-07-071-2/+2
| | | | | | | | | | | | | | This requires a feature recently added to BuildStream (in commit 03906221) that adds a framework for elements to support being cross-compiled. To build an armv8l64 native toolchain and sysroot on an x86_64 build machine, for example, you can do this: bst build --target-arch=armv8l64 gnu-toolchain/stage2.bst You can then run `bst checkout` to get at the resulting binaries and copy them onto an armv8l64 machine where they can be executed.
* Update GCC to 7.1.0, and GLIBC to 2.25Sam Thursfield2017-07-071-2/+2
|
* Moved all elements under the elements directoryTristan Van Berkom2017-03-221-0/+102