From 2b10a9677817377618e33d2b07ab7caefe316633 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 18 Aug 2014 17:05:22 +0000 Subject: Re-organise definitions with scripts/organise-morphologies.py --- strata/build-essential/stage2-gcc-fixed-headers.morph | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 strata/build-essential/stage2-gcc-fixed-headers.morph (limited to 'strata/build-essential/stage2-gcc-fixed-headers.morph') 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" -- cgit v1.2.1