diff options
Diffstat (limited to 'strata/build-essential/stage2-reset-specs.morph')
-rw-r--r-- | strata/build-essential/stage2-reset-specs.morph | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/build-essential/stage2-reset-specs.morph b/strata/build-essential/stage2-reset-specs.morph new file mode 100644 index 00000000..6495909c --- /dev/null +++ b/strata/build-essential/stage2-reset-specs.morph @@ -0,0 +1,9 @@ +name: stage2-reset-specs +kind: chunk +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" |