summaryrefslogtreecommitdiffstats
path: root/examples/recipes/toolchain
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:13:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:16:43 +0200
commit1896ea04204b8086a4f25e257dc5605e5505d768 (patch)
tree694b5298958c0152ce4fe58c42f864980fd6b9df /examples/recipes/toolchain
parentaa914e75251af3f9691be621a8c266320158bace (diff)
downloadrebel-1896ea04204b8086a4f25e257dc5605e5505d768.tar
rebel-1896ea04204b8086a4f25e257dc5605e5505d768.zip
driver: recipe: move each recipe into a separate directory
Diffstat (limited to 'examples/recipes/toolchain')
-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..ab8e6de
--- /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: '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'