OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | Overview |
2 | ======== |
||
3 | |||
4 | This repo is maintained by GL.iNet team, which is used to release stock firmware. |
||
5 | |||
6 | Feature |
||
7 | ======= |
||
8 | |||
9 | - Support latest device of GL.iNet |
||
10 | - Support kernel driver which isn't support by kernel-tree |
||
11 | - Keep updating with stock firmware |
||
12 | |||
13 | Prerequisites |
||
14 | ============= |
||
15 | |||
16 | To build your own firmware you need to have access to a Linux, BSD or MacOSX system (case-sensitive filesystem required). Cygwin will not be supported because of the lack of case sensitiveness in the file system. Ubuntu is usually recommended. |
||
17 | |||
18 | Installing Packages |
||
19 | ------------------- |
||
20 | |||
21 | ```bash |
||
22 | $ sudo apt-get update |
||
23 | $ sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext libssl-dev |
||
24 | ``` |
||
25 | |||
26 | Downloading Source |
||
27 | ------------------ |
||
28 | |||
29 | ``` |
||
30 | $ git clone https://github.com/gl-inet/openwrt.git openwrt |
||
31 | ``` |
||
32 | |||
33 | Updating Feeds |
||
34 | -------------- |
||
35 | |||
36 | ``` |
||
37 | $ ./scripts/feeds update -a |
||
38 | $ ./scripts/feeds install -a |
||
39 | ``` |
||
40 | |||
41 | Compile |
||
42 | ======= |
||
43 | |||
44 | Issueing **make menuconfig** to select a GL.iNet device, and then *exit* with *save*. Simply running **make** will build your own firmware. It will download all sources, build the cross-compile toolchain, the kernel and all choosen applications which is spent on several hours. |
||
45 | |||
46 | Note that if you have all the source already, just put them in your *openwrt/dl* folder and you save time to download resource. |
||
47 | |||
48 |