diff options
Diffstat (limited to 'examples/binutils.yml')
-rw-r--r-- | examples/binutils.yml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/examples/binutils.yml b/examples/binutils.yml index c05d965..422a108 100644 --- a/examples/binutils.yml +++ b/examples/binutils.yml @@ -4,23 +4,20 @@ tasks: - name: 'binutils-2.37.tar.xz' sha256: '820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c' run: | - tar xf "${DLDIR}/binutils-2.37.tar.xz" + tar xf {{dldir}}/binutils-2.37.tar.xz configure: inherit: task: 'binutils:unpack' run: | - BUILD=x86_64-linux-gnu - HOST=x86_64-linux-gnu - TARGET=aarch64-linux-gnu mkdir binutils-build cd binutils-build ../binutils-2.37/configure \ - --build="${BUILD}" \ - --host="${HOST}" \ - --target="${TARGET}" \ - --prefix="${BUILD_PREFIX}" \ - --with-sysroot="${SYSROOT}" \ + --build={{build.target_triple}} \ + --host={{host.target_triple}} \ + --target={{target.target_triple}} \ + --prefix={{host.prefix}} \ + --with-sysroot={{sysroot}} \ --enable-libssp \ --enable-deterministic-archives \ --enable-plugins \ @@ -45,4 +42,4 @@ tasks: default: {} run: | cd binutils-build - make DESTDIR="$DESTDIR" install + make DESTDIR={{destdir}} install |