summaryrefslogtreecommitdiff
path: root/binutils-2.morph
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.morph')
-rw-r--r--binutils-2.morph14
1 files changed, 14 insertions, 0 deletions
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"
+ ]
+}