BRN:Software:Build and Distribution:click
Jump to navigation
Jump to search
Introduction
$ BRN_SVN_REPOS=svn://brn-svn.sar.informatik.hu-berlin.de $ svn co $BRN_SVN_REPOS/BerlinRoofNet/trunk/click
User Space (userlevel)
$ cd click $ cat > env.sh <<EOF #!/bin/sh echo "Setting up Click environment!" export BASEDIR=/sde-wgt-toolchain/openwgt-dev/buildroot/build_mipsel/staging_dir export CC=\$BASEDIR/bin/mipsel-linux-uclibc-gcc export CPP=\$BASEDIR/bin/mipsel-linux-uclibc-cpp export CXX=\$BASEDIR/bin/mipsel-linux-uclibc-g++ export RANLIB=\$BASEDIR/bin/mipsel-linux-uclibc-ranlib export AR=\$BASEDIR/bin/mipsel-linux-uclibc-ar export STRIP=\$BASEDIR/bin/mipsel-linux-uclibc-strip export PATH=\$PATH:\$BASEDIR/bin EOF $ . env.sh $ cd click-core $ autoconf $ ./configure --host=mipsel-linux --build=i686-pc-linux-gnu --enable-tools=host CFLAGS="-mlong-calls -O2" --disable-linuxmodule $ cd userlevel $ make $ $STRIP click $ cd ../tools # we need click-align for loading the click configuration later $ make $ $STRIP click-align/click-align