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