diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-25 11:23:59 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-25 11:23:59 +0200 |
commit | 7016abd1e711f3def3281a8eefafd900013f5455 (patch) | |
tree | 4a1162eeb39815074715e2935c07124d01d497e7 /examples | |
parent | 4ca83d675f8f1ca0d041ba0a05a3c89b2f84be1a (diff) | |
download | rebel-7016abd1e711f3def3281a8eefafd900013f5455.tar rebel-7016abd1e711f3def3281a8eefafd900013f5455.zip |
toolchain: make recipe reusable as a dependency
Diffstat (limited to 'examples')
-rw-r--r-- | examples/toolchain.yml | 28 |
1 files changed, 22 insertions, 6 deletions
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' |