This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
binutils.yaml
65 lines (63 loc) · 2.01 KB
/
binutils.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package:
name: binutils
version: 2.39
epoch: 0
description: "GNU binutils"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: GPL-3.0-or-later
dependencies:
runtime:
environment:
contents:
repositories:
- https://mirrors.edge.kernel.org/alpine/edge/main
- https://packages.wolfi.dev/bootstrap/stage1
keyring:
- /usr/share/apk/keys/x86_64/[email protected]
- /usr/share/apk/keys/x86_64/[email protected]
- /usr/share/apk/keys/x86_64/[email protected]
- /usr/share/apk/keys/aarch64/[email protected]
- /usr/share/apk/keys/aarch64/[email protected]
- /usr/share/apk/keys/armv7/[email protected]
- /usr/share/apk/keys/armv7/[email protected]
- https://packages.wolfi.dev/bootstrap/stage1/wolfi-signing.rsa.pub
packages:
- alpine-baselayout
- busybox
- perl
- ca-certificates-bundle
- build-base
- cross-gcc-stage1
- cross-binutils-stage1
- cross-glibc-stage1
- cross-linux-headers
- texinfo
- isl-dev
pipeline:
- uses: fetch
with:
uri: https://ftp.gnu.org/gnu/binutils/binutils-${{package.version}}.tar.gz
expected-sha256: d12ea6f239f1ffe3533ea11ad6e224ffcb89eb5d01bbea589e9158780fa11f10
- name: 'Configure binutils'
runs: |
./configure \
--prefix=/usr \
--build=$(./config.guess) \
--host=${{cross.triplet.gnu.glibc}} \
--target=${{cross.triplet.gnu.glibc}} \
--disable-nls \
--disable-werror \
--disable-multilib \
--disable-gprofng
- runs: |
make -j$(nproc) V=1
- uses: autoconf/make-install
- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
- uses: strip