summaryrefslogtreecommitdiff
path: root/build-essential/stage1-gcc.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/stage1-gcc.morph
parent895bd79b3fa5178a6e2bf0d190ea7b5e660d8859 (diff)
downloaddefinitions-baserock/adamcoldrick/chunks-in-definitions.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/stage1-gcc.morph')
-rw-r--r--build-essential/stage1-gcc.morph34
1 files changed, 34 insertions, 0 deletions
diff --git a/build-essential/stage1-gcc.morph b/build-essential/stage1-gcc.morph
new file mode 100644
index 00000000..b0127f3c
--- /dev/null
+++ b/build-essential/stage1-gcc.morph
@@ -0,0 +1,34 @@
+name: build-essential/stage1-gcc.morph
+kind: chunk
+repo: upstream:gcc-tarball
+ref: dd78b627480ed8d3c135271cd627096ae76fa5fc
+configure-commands:
+- mkdir o
+- |
+ cd o &&
+ ../configure \
+ $(../morph-arch-config) \
+ --build=$(sh ../config.guess) --host=$(sh ../config.guess) \
+ --target=$TARGET_STAGE1 \
+ --prefix="$PREFIX" \
+ --disable-bootstrap --disable-nls \
+ `# [1]` --libdir="$PREFIX/lib" --disable-multilib --disable-libgomp \
+ --without-cloog --without-ppl \
+ --with-mpfr-include="$(pwd)/../mpfr/src" \
+ --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \
+ `# [2]` --with-local-prefix="$PREFIX" \
+ `# [3]` --with-native-system-header-dir="$PREFIX/include" \
+ `# [4]` --enable-languages=c --disable-decimal-float \
+ --disable-libmudflap --disable-libquadmath --disable-libssp \
+ --disable-shared --disable-threads --disable-target-libiberty \
+ --disable-target-zlib --without-headers --with-newlib \
+ --with-system-zlib
+build-commands:
+- cd o && make
+install-commands:
+- cd o && make DESTDIR="$DESTDIR" install
+- |
+ libgcc_filename=$($DESTDIR$PREFIX/bin/$TARGET_STAGE1-gcc -print-libgcc-file-name)
+ ln -sv libgcc.a $(echo $libgcc_filename | sed 's/libgcc/&_eh/')
+build_depends:
+- build-essential/stage1-binutils.morph