summaryrefslogtreecommitdiffstats
path: root/examples/recipes/toolchain/build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/recipes/toolchain/build.yml')
-rw-r--r--examples/recipes/toolchain/build.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/recipes/toolchain/build.yml b/examples/recipes/toolchain/build.yml
new file mode 100644
index 0000000..d612261
--- /dev/null
+++ b/examples/recipes/toolchain/build.yml
@@ -0,0 +1,31 @@
+tasks:
+ build_depends:
+ args:
+ host: 'platform'
+ target: 'platform'
+ output:
+ default:
+ runtime_depends:
+ - recipe: 'gcc'
+ task: 'install'
+ - recipe: 'gcc/libgcc'
+ task: 'install'
+
+ depends:
+ args:
+ host: 'platform'
+ output:
+ default:
+ runtime_depends:
+ - recipe: 'glibc'
+ task: 'install'
+ - recipe: 'gcc/libs'
+ task: 'install'
+
+ build:
+ args:
+ host: 'platform'
+ build_depends:
+ - task: 'build_depends'
+ depends:
+ - task: 'depends'