diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-25 09:57:34 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-25 09:57:34 +0200 |
commit | 1f0002b087d5ebbeb75aa90709cb46f659e6f9d3 (patch) | |
tree | f6f684c02e3f3cfdaab2248c551239a46043da77 /examples | |
parent | b9f3bc92512f0ee908867c5bb21fa729ba7160c0 (diff) | |
download | rebel-1f0002b087d5ebbeb75aa90709cb46f659e6f9d3.tar rebel-1f0002b087d5ebbeb75aa90709cb46f659e6f9d3.zip |
examples: add toolchain meta recipe, fix gcc-libs
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gcc-libs.yml | 4 | ||||
-rw-r--r-- | examples/toolchain.yml | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/examples/gcc-libs.yml b/examples/gcc-libs.yml index 8442cab..953a097 100644 --- a/examples/gcc-libs.yml +++ b/examples/gcc-libs.yml @@ -11,6 +11,8 @@ tasks: target: 'target' depends: - task: 'glibc:install' + args: + host: 'target' run: | cd gcc-build make -j8 all-target-libgcc all-target-libstdc++-v3 all-target-libgomp all-target-libquadmath all-target-libatomic @@ -27,6 +29,8 @@ tasks: target: 'target' depends: - task: 'glibc:install' + args: + host: 'target' output: host: path: 'host' diff --git a/examples/toolchain.yml b/examples/toolchain.yml new file mode 100644 index 0000000..334e5f1 --- /dev/null +++ b/examples/toolchain.yml @@ -0,0 +1,16 @@ +tasks: + install: + args: + host: 'platform' + build_depends: + - task: 'gcc:install' + - task: 'gcc-libs:install' + output: 'host' + depends: + - task: 'glibc:install' + - task: 'gcc-libs:install' + output: 'target' + args: + host: 'build' + target: 'host' + run: '' |