Date: Sun, 01 Sep 2013 00:25:06 +0200 From: Harm Weites <harm@weites.com> To: freebsd-mips@freebsd.org Subject: Re: TP-Link 1043ND - its tme :) Message-ID: <1377987906.2748.51.camel@manbearpig> In-Reply-To: <1377986990.2748.49.camel@manbearpig>
next in thread | previous in thread | raw e-mail | index | archive | help
Hm, since I don't see anything attached - here it is: #!/bin/bash BASEDIR=/home/harm/work/freebsd/head/obj/mipseb/mips.mips/usr/home/harm/work/freebsd/head/src PREFIX=/home/harm/work/freebsd/head/ports/prefix WORKDIR=/home/harm/work/freebsd/head/ports/work mkdir -p $WORKDIR mkdir -p $PREFIX export CC=$BASEDIR/tmp/usr/bin/gcc export CPP=$BASEDIR/tmp/usr/bin/cpp export CXX=$BASEDIR/tmp/usr/bin/g++ export AS=$BASEDIR/tmp/usr/bin/as export NM=$BASEDIR/tmp/usr/bin/nm export RANLIB=$BASEDIR/tmp/usr/bin/gnu-ranlib export LD=$BASEDIR/tmp/usr/bin/ld export OBJCOPY=$BASEDIR/tmp/usr/bin/objcopy export SIZE=$BASEDIR/tmp/usr/bin/size export AR=$BASEDIR/tmp/usr/bin/gnu-ar export STRIPBIN=$BASEDIR/tmp/usr/bin/strip export MACHINE=mips export MACHINE_ARCH=mips echo "Start cross-compiling to $MACHINE/$MACHINE_ARCH..." make \ PREFIX=$PREFIX \ WRKDIRPREFIX=$WORKDIR \ CONFIGURE_ARGS+="--host=$MACHINE --prefix=$PREFIX" \ LDFLAGS+="-rpath=$BASEDIR/tmp/lib:$BASEDIR/tmp/usr/lib:$PREFIX/lib: $BASEDIR/lib -L$BASEDIR/tmp/lib -L$BASEDIR/usr/lib -L$TARGETDIR/lib -L $BASEDIR/lib" \ NO_PKG_REGISTER=1 \ clean install
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1377987906.2748.51.camel>