summaryrefslogtreecommitdiffstats
path: root/examples/binutils.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-14 22:43:49 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-15 17:36:20 +0200
commit35875d76d4de3080e0c8cdae49da4298f3be2138 (patch)
tree42070ee1b66c21f0d3458412f3dea5fe6f66e066 /examples/binutils.yml
parenta00e88def1df27e296e726b29737532da73d921c (diff)
downloadrebel-35875d76d4de3080e0c8cdae49da4298f3be2138.tar
rebel-35875d76d4de3080e0c8cdae49da4298f3be2138.zip
examples: adjust binutils for aarch64 target, add gcc recipe
Diffstat (limited to 'examples/binutils.yml')
-rw-r--r--examples/binutils.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/examples/binutils.yml b/examples/binutils.yml
index 6d080f9..88dcf7e 100644
--- a/examples/binutils.yml
+++ b/examples/binutils.yml
@@ -14,30 +14,37 @@ tasks:
inherit:
task: 'binutils:unpack'
run: |
+ export BUILD=x86_64-linux-gnu
+ export HOST=x86_64-linux-gnu
+ export TARGET=aarch64-linux-gnu
mkdir binutils-build
cd binutils-build
../binutils-2.37/configure \
- --prefix="$PREFIX" \
- --with-sysroot="$PREFIX" \
+ --build="${BUILD}" \
+ --host="${HOST}" \
+ --target="${TARGET}" \
+ --prefix="${PREFIX}" \
+ --with-sysroot="${PREFIX}/${TARGET}" \
--enable-libssp \
--enable-deterministic-archives \
--enable-plugins \
+ --disable-bootstrap \
--disable-multilib \
--disable-werror \
--disable-nls \
--disable-sim \
--disable-gdb
- build:
+ compile:
inherit:
task: 'binutils:configure'
run: |
cd binutils-build
- make tooldir="$PREFIX" -j8
+ make -j8
install:
inherit:
- task: 'binutils:build'
+ task: 'binutils:compile'
run: |
cd binutils-build
- make tooldir="$PREFIX" DESTDIR="$DESTDIR" install
+ make DESTDIR="$DESTDIR" install