summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-21 13:01:24 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-21 13:01:24 +0000
commit751259306716cf68a43bb57e31f4eb2d76600880 (patch)
tree93d0f85ece0d40825c047721b17539f2ed1a2a62
parente01686e2b8b883eca3cfd782837c94a071d697ee (diff)
downloadbinutils-redhat-baserock/bootstrap-pass1.tar.gz
binutils: import morphsbaserock/bootstrap-pass1
-rw-r--r--binutils-1.morph15
-rw-r--r--binutils-2.morph14
2 files changed, 29 insertions, 0 deletions
diff --git a/binutils-1.morph b/binutils-1.morph
new file mode 100644
index 0000000000..f9ef0965fe
--- /dev/null
+++ b/binutils-1.morph
@@ -0,0 +1,15 @@
+{
+ "name": "binutils-1",
+ "kind": "chunk",
+ "configure-commands": [
+ "mkdir o",
+ "cd o && ../configure --target=\"$TOOLCHAIN_TARGET\" --prefix=\"$PREFIX\" --disable-nls --disable-werror"
+ ],
+ "build-commands": [
+ "cd o && make"
+ ],
+ "install-commands": [
+ "cd o && make DESTDIR=\"$DESTDIR\" install"
+ ]
+}
+
diff --git a/binutils-2.morph b/binutils-2.morph
new file mode 100644
index 0000000000..ae02f9a6d5
--- /dev/null
+++ b/binutils-2.morph
@@ -0,0 +1,14 @@
+{
+ "name": "binutils-2",
+ "kind": "chunk",
+ "configure-commands": [
+ "mkdir o",
+ "cd o && CC=\"$TOOLCHAIN_TARGET-gcc -B$PREFIX/lib/\" AR=\"$TOOLCHAIN_TARGET\"-ar RANLIB=\"$TOOLCHAIN_TARGET\"-ranlib ../configure --prefix=\"$PREFIX\" --disable-nls --with-lib-path=\"$PREFIX\"/lib"
+ ],
+ "build-commands": [
+ "cd o && make"
+ ],
+ "install-commands": [
+ "cd o && make DESTDIR=\"$DESTDIR\" install"
+ ]
+}