From 0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Mon, 14 Apr 2014 12:22:53 +0000 Subject: Add chunk morphologies to definitions repository --- chunks/stage2-gcc-fixed-headers.morph | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 chunks/stage2-gcc-fixed-headers.morph (limited to 'chunks/stage2-gcc-fixed-headers.morph') 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" -- cgit v1.2.1