root/trunk/wifidog/README.openwrt @ 145

Revision 145, 1.0 KB (checked in by alexcv, 9 years ago)

Added openwrt directory with script to build the .ipk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1OpenWRT specific README
2
3$Header$
4
5In order to compile OpenWRT for the linksys WRT54G, you must first
6obtain and install the OpenWRT build environement from the OpenWRT
7project: http://openwrt.ksilebo.net/
8
9Once you have successfully built a full toolchain according to the
10instructions for OpwnWRT, you can compile binaries for the MIPS_EL
11platform.
12
13For WiFiDog, you must do:
14
15$ ./autogen.sh BUILDROOT=$HOME/buildroot
16$ make
17
18This example assumes that you have installed the OpenWRT buildroot
19in your home directory. You must run autogen.sh from the directory
20containing the WiFiDog root. You might need to give autogen.sh the
21execute permission.
22
23Then, to build the ipkg for use on the OpenWRT, you do the following:
24
25$ cd openwrt
26$ make BUILDROOT=$HOME/buildroot
27
28This will fail if you don't have an already compiled OpenWRT buildroot
29with the complete toolchain. The Makefile will compile things that aren't
30compiled by default and import all the binaries in the right places in
31the ipkg tree.
Note: See TracBrowser for help on using the browser.