From 7016abd1e711f3def3281a8eefafd900013f5455 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 25 Sep 2021 11:23:59 +0200 Subject: toolchain: make recipe reusable as a dependency --- examples/toolchain.yml | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'examples/toolchain.yml') diff --git a/examples/toolchain.yml b/examples/toolchain.yml index ea9f41f..6d66404 100644 --- a/examples/toolchain.yml +++ b/examples/toolchain.yml @@ -1,11 +1,27 @@ tasks: - install: + build_depends: + args: + host: 'platform' + target: 'platform' + output: + default: + runtime_depends: + - task: 'gcc:install' + - task: 'gcc-libs:install-gcc' + + depends: + args: + host: 'platform' + output: + default: + runtime_depends: + - task: 'glibc:install' + - task: 'gcc-libs:install' + + build: args: host: 'platform' build_depends: - - task: 'gcc:install' - - task: 'gcc-libs:install-gcc' + - task: 'toolchain:build_depends' depends: - - task: 'glibc:install' - - task: 'gcc-libs:install' - run: '' + - task: 'toolchain:depends' -- cgit v1.2.3