diff options
-rw-r--r-- | binutils-1.morph | 15 | ||||
-rw-r--r-- | binutils-2.morph | 14 |
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" + ] +} |