Once your build system is properly set up, you can start the build with a simple make and wait for the result to show up in ~/WRT54G_3_01_3_0922/release/image:
cd ~/WRT54G_3_01_3_0922/release/src make