diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-07-21 10:59:46 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-07-24 16:53:05 +0100 |
commit | 6be2d5be9a44d5185e103357a9517977dfcd93a0 (patch) | |
tree | e09852e02622f01cea9c94f1e6c389b7450dff40 /chunks/stage2-make.morph | |
parent | b2f120b8edc40237bb387cfe480d08ac960ee8aa (diff) | |
download | definitions-6be2d5be9a44d5185e103357a9517977dfcd93a0.tar.gz |
Move build-essential chunks to definitions
Diffstat (limited to 'chunks/stage2-make.morph')
-rw-r--r-- | chunks/stage2-make.morph | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chunks/stage2-make.morph b/chunks/stage2-make.morph new file mode 100644 index 00000000..fee819be --- /dev/null +++ b/chunks/stage2-make.morph @@ -0,0 +1,13 @@ +name: stage2-make +kind: chunk +build-system: autotools +configure-commands: +- | + export STAGE2_SYSROOT="$(dirname $(pwd))" + export CPPFLAGS="--sysroot=$STAGE2_SYSROOT" + export CXX=false + export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" + ./configure --prefix="$PREFIX" --disable-nls \ + --build=$(sh config/config.guess) --host=$TARGET_STAGE1 +build-commands: +- STAGE2_SYSROOT="$(dirname $(pwd))" make |