summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/binutils.bst
blob: 9c59a19ec91d8b8ffd61ab812b1bfb1a0c89a4a9 (plain)
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
kind: autotools

sources:
- kind: git
  url: upstream:binutils-tarball
  track: binutils-2.25
  ref: 5500a97a2ad1735db5b35bc51cfb825c1f4c38df

depends:
- filename: gnu-toolchain/stage2.bst
  type: build
- gnu-toolchain/fhs-dirs.bst
- gnu-toolchain/glibc.bst
- gnu-toolchain/zlib.bst

environment:
  PATH: /usr/bin:/bin:/usr/sbin:/sbin:/tools/bin:/tools/sbin

config:

  configure-commands:
  - |
    ./configure --prefix="%{prefix}" --disable-nls --disable-werror \
      --with-system-zlib \
      --build=%{target}  \
      --host=%{target}   \
      --target=%{target}

  strip-commands:
  - |
    %{stage3-strip-binaries}

public:
  bst:
    split-rules:
      runtime:
        (=): []

      devel:
        (>):
        - |
          %{bindir}/*
        - |
          %{prefix}/%{target}/**