From e9dbfdc623101442370d51525e8cdbe3867eab02 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 26 Sep 2014 12:07:06 +0100 Subject: Add back missing comments to build-essential chunk morphs These will have been lost in the automated chunks-in-definitions transition. --- strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph') diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph index a5c6eac1..50c338e5 100644 --- a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph @@ -1,7 +1,15 @@ name: armv7lhf-cross-gcc kind: chunk + configure-commands: - mkdir o + +# Configure flag notes: +# 1. Use the default sysroot path to install to and locate headers +# 2. Recommended by Linux From Scratch; required for C++ ABI +# compatibility with other Linux distributions. +# 3. Standard flags. See gcc.morph. +# 4. Avoid having more than one copy of ZLib in use on the system - | export MORPH_ARCH=armv7lhf export TARGET=armv7lhf-baserock-linux-gnueabi @@ -23,8 +31,10 @@ configure-commands: --with-mpfr-include="$(pwd)/../mpfr/src" \ --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \ `# [4]` --with-system-zlib + build-commands: - cd o && make + install-commands: - cd o && make DESTDIR="$DESTDIR" install - | -- cgit v1.2.1