summaryrefslogtreecommitdiff
path: root/strata/armv7lhf-cross-toolchain/armv7lhf-cross-binutils.morph
blob: fa876c9809ab55cc39cb3eb7095aaa856233dfb5 (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
name: armv7lhf-cross-binutils
kind: chunk
description: ''
max-jobs: null
products: []
build-system: autotools
pre-configure-commands: []
configure-commands:
- |
  # The TARGET used is the final triplet we expect, rather than that
  # of the libc-less GCC we build, since the binutils only needs to
  # be built once.
  # This requires extra effort to get the stage 1 GCC to use these
  # tools, but saves having an extra binutils build.
  export TARGET=armv7lhf-baserock-linux-gnueabi

  # 1. Binutils gets installed in the default sysroot path of
  #    $PREFIX/$TARGET/{bin,lib}, with the actual sysroot at
  #    $PREFIX/$TARGET/sys-root and its tools also available as
  #    $PREFIX/bin/$TARGET-$tool
  # 2. The '=' makes the path we give relative to the sysroot.
  ./configure --prefix="$PREFIX" --disable-nls --disable-werror \
    --build=$(sh config.guess) \
    --host=$(sh config.guess) \
    --target="$TARGET" \
  `# [1]` --with-sysroot \
  `# [2]` --with-lib-path="=$PREFIX/lib"
post-configure-commands: []
pre-build-commands: []
build-commands: []
post-build-commands: []
pre-install-commands: []
install-commands: []
post-install-commands: []
devices: []
post-test-commands: []
pre-test-commands: []
system-integration: []
test-commands: []