summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-10-02 23:30:45 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-10-02 23:33:57 +0200
commitc88acc33a41c9b7e318b27e99196d22cedeb1eab (patch)
tree3bb00e68ee3630accb1fe0ba4c12d7f37a7e99b4 /examples
parent1fdbe18b960e34f0fe0a4503f8d45932bcbaa980 (diff)
downloadrebel-c88acc33a41c9b7e318b27e99196d22cedeb1eab.tar
rebel-c88acc33a41c9b7e318b27e99196d22cedeb1eab.zip
examples: binutils: allow build for cross host
Diffstat (limited to 'examples')
-rw-r--r--examples/binutils.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/binutils.yml b/examples/binutils.yml
index 78fd37b..ca8e4db 100644
--- a/examples/binutils.yml
+++ b/examples/binutils.yml
@@ -14,6 +14,12 @@ tasks:
target: 'platform'
inherit:
task: 'unpack'
+ build_depends:
+ - recipe: 'toolchain'
+ task: 'build_depends'
+ depends:
+ - recipe: 'toolchain'
+ task: 'depends'
run: |
mkdir {{pn}}-build
cd {{pn}}-build
@@ -50,7 +56,10 @@ tasks:
inherit:
task: 'compile'
output:
- default: {}
+ default:
+ runtime_depends:
+ - recipe: 'toolchain'
+ task: 'depends'
run: |
cd {{pn}}-build
make DESTDIR={{destdir}} install