diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
commit | 0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 (patch) | |
tree | da8498e1eab2464b06117337cb0b7c87322e6ed1 /chunks/stage2-gcc-fixed-headers.morph | |
parent | 10dda889872542b8f261555c139791ff34eec9b1 (diff) | |
download | definitions-baserock/adamcoldrick/chunks-in-definitions-by-kind.tar.gz |
Add chunk morphologies to definitions repositorybaserock/adamcoldrick/chunks-in-definitions-by-kind
Diffstat (limited to 'chunks/stage2-gcc-fixed-headers.morph')
-rw-r--r-- | chunks/stage2-gcc-fixed-headers.morph | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chunks/stage2-gcc-fixed-headers.morph b/chunks/stage2-gcc-fixed-headers.morph new file mode 100644 index 00000000..f1675f02 --- /dev/null +++ b/chunks/stage2-gcc-fixed-headers.morph @@ -0,0 +1,12 @@ +name: stage2-gcc-fixed-headers +kind: chunk +repo: upstream:gcc-tarball +ref: dd78b627480ed8d3c135271cd627096ae76fa5fc +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" |