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/stage2-gcc-fixed-headers.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/stage2-gcc-fixed-headers.morph')
-rw-r--r-- | strata/build-essential/stage2-gcc-fixed-headers.morph | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/build-essential/stage2-gcc-fixed-headers.morph b/strata/build-essential/stage2-gcc-fixed-headers.morph new file mode 100644 index 00000000..2c4741ee --- /dev/null +++ b/strata/build-essential/stage2-gcc-fixed-headers.morph @@ -0,0 +1,10 @@ +name: stage2-gcc-fixed-headers +kind: chunk +install-commands: +- | + libgcc_dir=$(dirname $($TARGET_STAGE1-gcc -print-libgcc-file-name)) + sysroot="$(dirname "$(pwd)")" + target_libgcc_dir="${libgcc_dir#$sysroot}" + mkdir -p "$DESTDIR/$target_libgcc_dir/include-fixed" + cat "gcc/limitx.h" "gcc/glimits.h" "gcc/limity.h" \ + >"$DESTDIR/$target_libgcc_dir/include-fixed/limits.h" |