summaryrefslogtreecommitdiff
path: root/strata/build-essential/stage2-reset-specs.morph
blob: cf20f01536f2d8cab403db1e9de244fc76e7205c (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
name: stage2-reset-specs
kind: chunk
description: ''
max-jobs: null
products: []
build-system: manual
pre-configure-commands: []
configure-commands: []
post-configure-commands: []
pre-build-commands: []
build-commands: []
post-build-commands: []
pre-install-commands: []
install-commands:
- |
  STAGE2_SYSROOT="$(dirname "$(pwd)")"
  specs_dir="$(dirname $($TARGET_STAGE1-gcc -print-libgcc-file-name))"
  target_specs_dir="$DESTDIR/${specs_dir#$STAGE2_SYSROOT}"
  mkdir -p "$target_specs_dir"
  ln -s "temporary specs removed by baserock bootstrap" "$target_specs_dir/specs"
post-install-commands: []
devices: []
post-test-commands: []
pre-test-commands: []
system-integration: []
test-commands: []