Home | History | Annotate | Line # | Download | only in conf
build.playstation2.sh revision 1.8
      1  1.1     uch #!/bin/sh
      2  1.1     uch 
      3  1.5  martin # This assumes the compiler comes from pkgsrc/cross/gcc-mips-current
      4  1.5  martin # (as R5900 support is not available on other branches of gcc yet)
      5  1.5  martin root=/usr/pkg
      6  1.7  martin target=mipsel--netbsd
      7  1.5  martin 
      8  1.6  martin EXTERNAL_TOOLCHAIN=${root};		export EXTERNAL_TOOLCHAIN
      9  1.5  martin LD=${root}/bin/${target}-ld;		export LD
     10  1.1     uch CC=${root}/bin/${target}-gcc;		export CC
     11  1.1     uch CXX=${root}/bin/${target}-g++;		export CXX
     12  1.1     uch AS=${root}/bin/${target}-as;		export AS
     13  1.1     uch CPP=${root}/bin/${target}-cpp;		export CPP
     14  1.1     uch RANLIB=${root}/bin/${target}-ranlib;	export RANLIB
     15  1.1     uch AR=${root}/bin/${target}-ar;		export AR
     16  1.1     uch NM=${root}/bin/${target}-nm;		export NM
     17  1.1     uch SIZE=${root}/bin/${target}-size;	export SIZE
     18  1.1     uch STRIP=${root}/bin/${target}-strip;	export STRIP
     19  1.8  martin OBJCOPY=${root}/bin/${target}-objcopy;	export OBJCOPY
     20  1.1     uch 
     21  1.1     uch MAKE="make";				 export MAKE
     22  1.1     uch 
     23  1.1     uch exec $MAKE "$@"
     24