Home | History | Annotate | Line # | Download | only in conf
build.playstation2.sh revision 1.1
      1  1.1  uch #!/bin/sh
      2  1.1  uch DESTDIR=/work/playstation2/root;	export DESTDIR
      3  1.1  uch RELEASEDIR=/work/playstation2/release;	export RELEASEDIR
      4  1.1  uch root=/usr/pkg/cross-ps2
      5  1.1  uch target=mipsEEel-netbsd
      6  1.1  uch 
      7  1.1  uch PATH=\
      8  1.1  uch $PATH:\
      9  1.1  uch ${root}/${target}/bin:\
     10  1.1  uch ${root}/bin
     11  1.1  uch export PATH
     12  1.1  uch 
     13  1.1  uch CC=${root}/bin/${target}-gcc;		export CC
     14  1.1  uch LD=${root}/bin/${target}-ld;		export LD
     15  1.1  uch CXX=${root}/bin/${target}-g++;		export CXX
     16  1.1  uch AS=${root}/bin/${target}-as;		export AS
     17  1.1  uch CPP=${root}/bin/${target}-cpp;		export CPP
     18  1.1  uch RANLIB=${root}/bin/${target}-ranlib;	export RANLIB
     19  1.1  uch AR=${root}/bin/${target}-ar;		export AR
     20  1.1  uch NM=${root}/bin/${target}-nm;		export NM
     21  1.1  uch SIZE=${root}/bin/${target}-size;	export SIZE
     22  1.1  uch STRIP=${root}/bin/${target}-strip;	export STRIP
     23  1.1  uch 
     24  1.1  uch STRIPFLAGS="--strip-debug";		export STRIPFLAGS
     25  1.1  uch STRIPPROG=${target}-strip;		export STRIPPROG
     26  1.1  uch 
     27  1.1  uch HOSTED_CC=cc;				export HOSTED_CC
     28  1.1  uch 
     29  1.1  uch TARGET=mipsel;				export TARGET
     30  1.1  uch MACHINE=playstation2;			export MACHINE
     31  1.1  uch MACHINE_ARCH=mipsel;			export MACHINE_ARCH
     32  1.1  uch 
     33  1.1  uch DESTDIR=${bsd_root};			export DESTDIR
     34  1.1  uch 
     35  1.1  uch MAKE="make";				 export MAKE
     36  1.1  uch #MAKE="make -f /work/cvsrep/sharesrc/share/mk/sys.mk -f Makefile"; export MAKE
     37  1.1  uch #MAKEFLAGS="-I /work/cvsrep/sharesrc/share/mk";	export MAKEFLAGS
     38  1.1  uch 
     39  1.1  uch set -x
     40  1.1  uch exec $MAKE "$@"
     41