summaryrefslogtreecommitdiff
path: root/stage2-binutils.morph
diff options
context:
space:
mode:
Diffstat (limited to 'stage2-binutils.morph')
-rw-r--r--stage2-binutils.morph12
1 files changed, 12 insertions, 0 deletions
diff --git a/stage2-binutils.morph b/stage2-binutils.morph
new file mode 100644
index 0000000000..5267f48245
--- /dev/null
+++ b/stage2-binutils.morph
@@ -0,0 +1,12 @@
+{
+ "name": "stage2-binutils",
+ "kind": "chunk",
+ "build-system": "autotools",
+ "configure-commands": [
+ "stage2-eglibc-fix-specs",
+ "export STAGE2_SYSROOT=\"$(dirname $(pwd))\"\nexport CPPFLAGS=\"-B$STAGE2_SYSROOT/tools --sysroot=$STAGE2_SYSROOT\"\nexport LDFLAGS=\"-Wl,--sysroot=$STAGE2_SYSROOT\"\n./configure --prefix=\"$PREFIX\" --disable-nls --disable-werror \\\n --build=$BUILD --host=$TARGET_STAGE1 --target=$TARGET_STAGE1 \\\n --with-lib-path=\"$PREFIX/lib\"\n"
+ ],
+ "build-commands": [
+ "export STAGE2_SYSROOT=\"$(dirname $(pwd))\"\nexport CPPFLAGS=\"-B$STAGE2_SYSROOT/tools --sysroot=$STAGE2_SYSROOT\"\nexport LDFLAGS=\"-Wl,--sysroot=$STAGE2_SYSROOT\"\nmake\n"
+ ]
+}