summaryrefslogtreecommitdiffstats
path: root/examples/recipes/libgcc@13.2.0.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2023-10-02 01:11:29 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2023-10-02 01:11:29 +0200
commite739a7e89a6282f735d91daeb0c213efe9c0b077 (patch)
treec752019620f1454883dd1c2f7f464f1bf0b4d7f4 /examples/recipes/libgcc@13.2.0.yml
parent2c21f689fc372aaf54601c041cd3e15f625093d6 (diff)
downloadrebel-e739a7e89a6282f735d91daeb0c213efe9c0b077.tar
rebel-e739a7e89a6282f735d91daeb0c213efe9c0b077.zip
examples: update toolchain
Diffstat (limited to 'examples/recipes/libgcc@13.2.0.yml')
-rw-r--r--examples/recipes/libgcc@13.2.0.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/recipes/libgcc@13.2.0.yml b/examples/recipes/libgcc@13.2.0.yml
new file mode 100644
index 0000000..96a2ce8
--- /dev/null
+++ b/examples/recipes/libgcc@13.2.0.yml
@@ -0,0 +1,32 @@
+meta:
+ name: 'gcc'
+tasks:
+ compile:
+ args:
+ host: 'platform'
+ target: 'platform'
+ inherit:
+ recipe: 'gcc'
+ task: 'compile'
+ depends:
+ - recipe: 'glibc'
+ task: 'install'
+ args:
+ host: 'target'
+ run: |
+ cd {{pn}}-build
+ make all-target-libgcc
+
+ install:
+ args:
+ host: 'platform'
+ target: 'platform'
+ inherit:
+ task: 'compile'
+ output:
+ default: {}
+ run: |
+ cd {{pn}}-build
+ make DESTDIR={{destdir}} install-target-libgcc
+ rm {{destdir}}{{host_to_target.sysroot}}{{target.prefix}}/lib/libgcc_s.so*
+ rmdir -p --ignore-fail-on-non-empty {{destdir}}{{host_to_target.sysroot}}{{target.prefix}}/lib