summaryrefslogtreecommitdiff
path: root/build-essential/stage2-binutils.morph
diff options
context:
space:
mode:
Diffstat (limited to 'build-essential/stage2-binutils.morph')
-rw-r--r--build-essential/stage2-binutils.morph25
1 files changed, 25 insertions, 0 deletions
diff --git a/build-essential/stage2-binutils.morph b/build-essential/stage2-binutils.morph
new file mode 100644
index 00000000..b76b82e9
--- /dev/null
+++ b/build-essential/stage2-binutils.morph
@@ -0,0 +1,25 @@
+name: build-essential/stage2-binutils.morph
+kind: chunk
+repo: upstream:binutils-redhat
+ref: 987eb543a034cddc4eeb103f08f566f24a5f964a
+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 --disable-werror \
+ --build=$(sh config.guess) \
+ --host=$TARGET_STAGE1 \
+ --target=$TARGET_STAGE1
+build-commands:
+- |
+ export STAGE2_SYSROOT="$(dirname $(pwd))"
+ export CPPFLAGS="--sysroot=$STAGE2_SYSROOT"
+ export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT"
+ make
+build_depends:
+- build-essential/stage1-binutils.morph
+- build-essential/stage1-gcc.morph
+- build-essential/stage2-eglibc.morph