diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2013-08-14 13:03:45 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2013-08-14 13:03:45 +0000 |
commit | 8db2d90d36bec7107c20515d5192590ac973d0a2 (patch) | |
tree | 5e7dd575660fd96f1d7e575d60347d261e149489 | |
parent | 4c24797ccf44547e8b394163eb6692e73344f4f5 (diff) | |
download | gawk-8db2d90d36bec7107c20515d5192590ac973d0a2.tar.gz |
morphs: convert to YAML
-rw-r--r-- | gawk.morph | 13 | ||||
-rw-r--r-- | stage2-gawk.morph | 22 |
2 files changed, 15 insertions, 20 deletions
@@ -1,8 +1,5 @@ -{ - "name" : "gawk", - "kind" : "chunk", - "build-system" : "autotools", - "configure-commands": [ - "./configure --prefix=\"$PREFIX\" --disable-nls" - ] -} +name: gawk +kind: chunk +build-system: autotools +configure-commands: +- ./configure --prefix="$PREFIX" --disable-nls diff --git a/stage2-gawk.morph b/stage2-gawk.morph index 64af05ab..b5026dc0 100644 --- a/stage2-gawk.morph +++ b/stage2-gawk.morph @@ -1,12 +1,10 @@ -{ - "name" : "stage2-gawk", - "kind" : "chunk", - "build-system" : "autotools", - "configure-commands": [ - "stage2-eglibc-fix-specs", - "STAGE2_SYSROOT=\"$(dirname $(pwd))\" CPPFLAGS=\"--sysroot=$STAGE2_SYSROOT\" CXX=false LDFLAGS=\"-Wl,--sysroot=$STAGE2_SYSROOT\" ./configure --prefix=\"$PREFIX\" --disable-nls --build=$(sh config.guess) --host=$TARGET_STAGE1" - ], - "build-commands": [ - "STAGE2_SYSROOT=\"$(dirname $(pwd))\" make" - ] -} +name: stage2-gawk +kind: chunk +build-system: autotools +configure-commands: +- stage2-eglibc-fix-specs +- STAGE2_SYSROOT="$(dirname $(pwd))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false + LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" ./configure --prefix="$PREFIX" --disable-nls + --build=$(sh config.guess) --host=$TARGET_STAGE1 +build-commands: +- STAGE2_SYSROOT="$(dirname $(pwd))" make |