diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-22 22:05:26 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-23 23:44:14 +0200 |
commit | 88ef3e8312f5062cc923d000046bc9a8c58d6b6e (patch) | |
tree | bf279befda533f7cd6480fb20e04c47fd4d270d9 /examples | |
parent | f48ba9aadeb0d8d43b58c41b440d9f1c94082747 (diff) | |
download | rebel-88ef3e8312f5062cc923d000046bc9a8c58d6b6e.tar rebel-88ef3e8312f5062cc923d000046bc9a8c58d6b6e.zip |
Have tasks explicitly list their input arguments
Diffstat (limited to 'examples')
-rw-r--r-- | examples/binutils.yml | 9 | ||||
-rw-r--r-- | examples/gcc-libs.yml | 6 | ||||
-rw-r--r-- | examples/gcc.yml | 11 | ||||
-rw-r--r-- | examples/glibc.yml | 6 | ||||
-rw-r--r-- | examples/libgcc-initial.yml | 9 | ||||
-rw-r--r-- | examples/linux-uapi-headers.yml | 2 |
6 files changed, 43 insertions, 0 deletions
diff --git a/examples/binutils.yml b/examples/binutils.yml index 2d4a980..5c585ac 100644 --- a/examples/binutils.yml +++ b/examples/binutils.yml @@ -7,6 +7,9 @@ tasks: tar xf {{dldir}}/binutils-2.37.tar.xz configure: + args: + host: 'platform' + target: 'platform' inherit: task: 'binutils:unpack' run: | @@ -29,6 +32,9 @@ tasks: --disable-gdb compile: + args: + host: 'platform' + target: 'platform' inherit: task: 'binutils:configure' run: | @@ -36,6 +42,9 @@ tasks: make -j8 install: + args: + host: 'platform' + target: 'platform' inherit: task: 'binutils:compile' output: diff --git a/examples/gcc-libs.yml b/examples/gcc-libs.yml index c7f754a..5d393ad 100644 --- a/examples/gcc-libs.yml +++ b/examples/gcc-libs.yml @@ -1,5 +1,8 @@ tasks: compile: + args: + host: 'platform' + target: 'platform' inherit: task: 'gcc:compile' build_depends: @@ -11,6 +14,9 @@ tasks: make -j8 all-target-libgcc all-target-libstdc++-v3 all-target-libgomp all-target-libquadmath all-target-libatomic install: + args: + host: 'platform' + target: 'platform' inherit: task: 'gcc-libs:compile' build_depends: diff --git a/examples/gcc.yml b/examples/gcc.yml index 1e6efaa..6627262 100644 --- a/examples/gcc.yml +++ b/examples/gcc.yml @@ -9,6 +9,8 @@ tasks: sed -i -e 's@^MULTILIB_OSDIRNAMES@# &@' gcc-11.2.0/gcc/config/*/t-* header-stubs: + args: + target: 'platform' output: default: {} run: | @@ -16,6 +18,9 @@ tasks: touch {{destdir}}{{target.prefix}}/include/limits.h configure: + args: + host: 'platform' + target: 'platform' inherit: task: 'gcc:unpack' build_depends: @@ -65,6 +70,9 @@ tasks: --enable-__cxa_atexit compile: + args: + host: 'platform' + target: 'platform' inherit: task: 'gcc:configure' build_depends: @@ -76,6 +84,9 @@ tasks: make -j8 all-host install: + args: + host: 'platform' + target: 'platform' inherit: task: 'gcc:compile' output: diff --git a/examples/glibc.yml b/examples/glibc.yml index 0ab133e..9fad87d 100644 --- a/examples/glibc.yml +++ b/examples/glibc.yml @@ -7,6 +7,8 @@ tasks: tar xf {{dldir}}/glibc-2.34.tar.xz configure: + args: + host: 'platform' inherit: task: 'glibc:unpack' build_depends: @@ -48,6 +50,8 @@ tasks: echo rootsbindir={{host.prefix}}/bin >> configparms compile: + args: + host: 'platform' inherit: task: 'glibc:configure' build_depends: @@ -60,6 +64,8 @@ tasks: make -j8 install: + args: + host: 'platform' inherit: task: 'glibc:compile' build_depends: diff --git a/examples/libgcc-initial.yml b/examples/libgcc-initial.yml index 2852179..5ed5b10 100644 --- a/examples/libgcc-initial.yml +++ b/examples/libgcc-initial.yml @@ -1,5 +1,8 @@ tasks: configure: + args: + host: 'platform' + target: 'platform' inherit: task: 'gcc:compile' build_depends: @@ -22,6 +25,9 @@ tasks: {{target.gnu_triplet}}/libgcc/Makefile compile: + args: + host: 'platform' + target: 'platform' inherit: task: 'libgcc-initial:configure' build_depends: @@ -33,6 +39,9 @@ tasks: make -j8 all-target-libgcc install: + args: + host: 'platform' + target: 'platform' inherit: task: 'libgcc-initial:compile' build_depends: diff --git a/examples/linux-uapi-headers.yml b/examples/linux-uapi-headers.yml index 9c6f284..b471265 100644 --- a/examples/linux-uapi-headers.yml +++ b/examples/linux-uapi-headers.yml @@ -7,6 +7,8 @@ tasks: tar xf {{dldir}}/linux-5.10.66.tar.xz install: + args: + host: 'platform' inherit: task: 'linux-uapi-headers:unpack' output: |