diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2023-10-02 01:11:29 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2023-10-02 01:11:29 +0200 |
commit | e739a7e89a6282f735d91daeb0c213efe9c0b077 (patch) | |
tree | c752019620f1454883dd1c2f7f464f1bf0b4d7f4 /examples/recipes/gcc-libs@13.2.0.yml | |
parent | 2c21f689fc372aaf54601c041cd3e15f625093d6 (diff) | |
download | rebel-e739a7e89a6282f735d91daeb0c213efe9c0b077.tar rebel-e739a7e89a6282f735d91daeb0c213efe9c0b077.zip |
examples: update toolchain
Diffstat (limited to 'examples/recipes/gcc-libs@13.2.0.yml')
-rw-r--r-- | examples/recipes/gcc-libs@13.2.0.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/recipes/gcc-libs@13.2.0.yml b/examples/recipes/gcc-libs@13.2.0.yml new file mode 100644 index 0000000..5320d29 --- /dev/null +++ b/examples/recipes/gcc-libs@13.2.0.yml @@ -0,0 +1,31 @@ +meta: + name: 'gcc' +tasks: + compile: + args: + host: 'platform' + inherit: + recipe: 'libgcc' + task: 'compile' + args: + host: 'build' + target: 'host' + run: | + cd {{pn}}-build + make all-target-libatomic all-target-libgomp all-target-libquadmath all-target-libstdc++-v3 + + install: + args: + host: 'platform' + inherit: + task: 'compile' + output: + default: + path: 'sysroot' + run: | + cd {{pn}}-build + make DESTDIR={{destdir}}/install install-target-libgcc install-target-libatomic install-target-libgomp install-target-libquadmath install-target-libstdc++-v3 + rm -r {{destdir}}/install{{build.prefix}}/lib/gcc + mv -T {{destdir}}/install/{{build_to_host.sysroot}} {{destdir}}/sysroot + cp -al {{destdir}}/install{{build.prefix}}/* {{destdir}}/sysroot{{host.prefix}} + rm {{destdir}}/sysroot{{host.prefix}}/lib/*.la |