BRN:Software:Build and Distribution:click: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Introduction = |
= Introduction = |
||
$ BRN_SVN_REPOS=svn://brn-svn.sar.informatik.hu-berlin.de |
|||
$ svn co $BRN_SVN_REPOS/BerlinRoofNet/trunk/click |
|||
= User Space (userlevel) = |
= 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 -g" --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 |
|||
= Kernel Space (linuxmodule) = |
= Kernel Space (linuxmodule) = |
Revision as of 09:22, 13 October 2006
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 -g" --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