X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=Makefile.upstream;h=86ebb67c92aa8187a146f046e5490e9e4af33e5b;hp=076d85b7a19eeaa178e12d5538ef61688a8379bc;hb=364731748a0cf0766ce6e8458947ee249a764d99;hpb=51134f6c97c69aee2d21c9bb0eab679ee05888b4 diff --git a/Makefile.upstream b/Makefile.upstream index 076d85b..86ebb67 100644 --- a/Makefile.upstream +++ b/Makefile.upstream @@ -16,9 +16,17 @@ url_gcc-3.3 := http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc url_jpeg-6b := http://www.ijg.org/files/jpegsrc.v6b.tar.gz url_jikes-1.18 := http://www.megacz.com/tmp/jikes-1.18.tgz #ftp://www-126.ibm.com/pub/jikes/1.18/jikes-1.18.tar.gz -.install_binutils-2.13.2.1_powerpc-apple-darwin: - ln -s upstream/install/bin/powerpc-apple-darwin-as /usr/bin/as - ln -s upstream/install/bin/powerpc-apple-darwin-ld /usr/bin/ld +.install_binutils-2.13.2.1_powerpc-apple-darwin: .vendor + cd upstream/darwin-linker; tar xvzf ../install/powerpc-apple-darwin/cctools-478.tgz + cd upstream/darwin-linker/src/cctools; for A in ../../patches/*.patch; do patch -p0 < $$A; done + cd upstream/darwin-linker/src/; mkdir macosx-include; cd macosx-include; ../../links.sh + make -C upstream/darwin-linker/src/cctools/libstuff + make -C upstream/darwin-linker/src/cctools/misc + make -C upstream/darwin-linker/src/cctools/ld; true + cp upstream/darwin-linker/src/cctools/ld/ld_dir/ld.NEW \ + upstream/install/bin/powerpc-apple-darwin-ld + cp upstream/darwin-linker/src/cctools/misc/strip.NEW + upstream/install/bin/powerpc-apple-darwin-strip # building gcc requires binutils .configure_gcc-3.3_$(target): .install_binutils-2.13.2.1_$(target)