Skip to content

Commit

Permalink
binutils: Rework the way we regenerate it
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennisbonke committed Oct 4, 2022
1 parent ec1d5df commit 9d6bf2a
Showing 1 changed file with 35 additions and 7 deletions.
42 changes: 35 additions & 7 deletions bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,39 @@ sources:
tag: 'binutils-2_32'
version: '2.32'
tools_required:
# TODO Dennis: autoconf-2.71 is too new, I'll grab this during the toolchain upgrade.
- host-autoconf-v2.69
- host-automake-v1.15
- host-automake-v1.16
- host-libtool
regenerate:
- args: ['autoreconf']
- args: ['autoreconf', '-fvi', '-I../config']
workdir: '@THIS_SOURCE_DIR@/opcodes'
- args: ['libtoolize', '-cfvi']
workdir: '@THIS_SOURCE_DIR@/opcodes'
- args: ['autoreconf', '-fvi', '-I../config']
workdir: '@THIS_SOURCE_DIR@/bfd'
- args: ['libtoolize', '-cfvi']
workdir: '@THIS_SOURCE_DIR@/bfd'
- args: ['autoreconf', '-fvi', '-I../config']
workdir: '@THIS_SOURCE_DIR@/ld'
- args: ['libtoolize', '-cfvi']
workdir: '@THIS_SOURCE_DIR@/ld'
- args: ['autoreconf', '-fvi', '-I../config']
workdir: '@THIS_SOURCE_DIR@/'
- args: ['libtoolize', '-cfvi']
workdir: '@THIS_SOURCE_DIR@/'
- args: ['autoreconf', '-fvi', '-I../config']
workdir: '@THIS_SOURCE_DIR@/gas'
- args: ['libtoolize', '-cfvi']
workdir: '@THIS_SOURCE_DIR@/gas'
- args: ['autoreconf', '-fvi', '-I../config']
workdir: '@THIS_SOURCE_DIR@/binutils'
- args: ['libtoolize', '-cfvi']
workdir: '@THIS_SOURCE_DIR@/binutils'
- args: ['autoreconf', '-fvi', '-I../config']
workdir: '@THIS_SOURCE_DIR@/gprof'
- args: ['libtoolize', '-cfvi']
workdir: '@THIS_SOURCE_DIR@/gprof'

- name: cralgo
subdir: 'ports'
Expand Down Expand Up @@ -441,7 +469,7 @@ tools:
labels: [aarch64, riscv64]
architecture: '@OPTION:arch@'
from_source: binutils
revision: 2
revision: 3
configure:
- args:
- '@THIS_SOURCE_DIR@/configure'
Expand Down Expand Up @@ -690,10 +718,10 @@ packages:
categories: ['sys-devel']
from_source: binutils
tools_required:
- tool: system-gcc
- system-gcc
pkgs_required:
- mlibc
revision: 4
revision: 5
configure:
- args:
- '@THIS_SOURCE_DIR@/configure'
Expand All @@ -707,8 +735,8 @@ packages:
# -g blows up the binary size.
- 'CFLAGS=-O2'
build:
#- args: ['make', '-j@PARALLELISM@', 'all-binutils', 'all-gas', 'all-ld']
- args: ['make', 'all-binutils', 'all-gas', 'all-ld']
- args: ['make', '-j@PARALLELISM@', 'all-binutils', 'all-gas', 'all-ld']
# - args: ['make', 'all-binutils', 'all-gas', 'all-ld']
- args: ['make', 'install-binutils', 'install-gas', 'install-ld']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'
Expand Down

0 comments on commit 9d6bf2a

Please sign in to comment.