summaryrefslogtreecommitdiff
path: root/build-essential/stage2-reset-specs.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
commit2deabedb6e998d3bd96fd910617461a24a11d73b (patch)
treec61c71fda6768404ccfde568d9fcb36c2e787f52 /build-essential/stage2-reset-specs.morph
parent895bd79b3fa5178a6e2bf0d190ea7b5e660d8859 (diff)
downloaddefinitions-2deabedb6e998d3bd96fd910617461a24a11d73b.tar.gz
Move chunk morphologies into the definitions repositorybaserock/adamcoldrick/chunks-in-definitions
Actually move all the chunk morphologies into the subdirectory for the stratum containing each chunk. Also add a repo and ref field to the chunk morphologies. Any chunks which did not previously have chunk morphologies have now had a morphology generated.
Diffstat (limited to 'build-essential/stage2-reset-specs.morph')
-rw-r--r--build-essential/stage2-reset-specs.morph16
1 files changed, 16 insertions, 0 deletions
diff --git a/build-essential/stage2-reset-specs.morph b/build-essential/stage2-reset-specs.morph
new file mode 100644
index 00000000..5fb6cfb1
--- /dev/null
+++ b/build-essential/stage2-reset-specs.morph
@@ -0,0 +1,16 @@
+name: build-essential/stage2-reset-specs.morph
+kind: chunk
+repo: upstream:eglibc2
+ref: 43ee5d250ad47d2bee8ec17954efb7f22d2b804c
+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"
+build_depends:
+- build-essential/stage1-binutils.morph
+- build-essential/stage1-gcc.morph
+- build-essential/stage2-linux-api-headers.morph
+- build-essential/stage2-eglibc.morph