diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-18 17:05:22 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-18 17:05:22 +0000 |
commit | 2b10a9677817377618e33d2b07ab7caefe316633 (patch) | |
tree | 843ba74b9480f36da273cba79182e3c38b28881b /strata/build-essential/stage1-gcc.morph | |
parent | e424935744d9faf27327ee40987620412c41716f (diff) | |
download | definitions-2b10a9677817377618e33d2b07ab7caefe316633.tar.gz |
Re-organise definitions with scripts/organise-morphologies.pyGENIVI-I0.1baserock/release/GENIVI-I0.1
Diffstat (limited to 'strata/build-essential/stage1-gcc.morph')
-rw-r--r-- | strata/build-essential/stage1-gcc.morph | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph new file mode 100644 index 00000000..0e0c2d81 --- /dev/null +++ b/strata/build-essential/stage1-gcc.morph @@ -0,0 +1,30 @@ +name: stage1-gcc +kind: chunk +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/') |