菜單功能配置
編譯過程使用的交叉編譯,交叉編譯生成的SDK以及image等文件的類型取決于開發環境、應用硬件、以及源碼版本。所以要對自己的環境進行了解,才能進行正確的配置。
注:以下配置使用15.05 branch (Chaos Calmer)版本
恢復編譯環境:
make defconfig
進入編譯菜單:
make menuconfig
之后會出現一個圖形配置界面,熟悉linux內核編譯的應該知道,兩者一樣的。
主要配置的選項有:
Target system(目標系統類型)
arget System ------------Atheros AR7xxx/AR9xxx
Subtarget ------------TP-LINK TL-WR703N
選擇 LuCI 配置( web 網頁管理程序):
LuCI ---> 1. Collections ---> luci 啟用 LuCI
LuCI ---> 3. Applications ---> luci-app-commands 網頁 Shell
LuCI ---> 3. Applications ---> luci-app-firewall 防 火 墻
LuCI ---> 3. Applications ---> luci-app-ntpc 時間同步服務器
LuCI ---> 3. Applications ---> luci-app-qos 上網管理
LuCI ---> 3. Applications ---> luci-app-samba 網絡共享
LuCI ---> 3. Applications ---> luci-app-ddns 動態域名
LuCI ---> 4. Themes ---> luci-theme-bootstrap 默認主題
LuCI ---> 5. Translations --->luci-i18n-chinese支持中文
Kernel modules (內核模塊):
Kernel modules ---> USB Support ---> kmod-usb-ohci 支持 USB 1.0
Kernel modules ---> USB Support ---> kmod-usb-storage 支持 USB 存儲
Kernel modules ---> USB Support ---> kmod-usb-uhci 支持 USB 1.1
Kernel modules ---> USB Support ---> kmod-usb2 支持 USB 2.0
Kernel modules ---> Video Support --->kmod-video-core
Kernel modules ---> Video Support ---> kmod-video-cpia2
Kernel modules ---> Video Support ---> kmod-video-gspca-core
Kernel modules ---> Video Support ---> kmod-video-pwc
Kernel modules ---> Video Support ---> kmod-video-sn9c102
Kernel modules ---> Video Support ---> kmod-video-uvc
Kernel modules ---> Video Support ---> kmod-video-videobuf2
Multimedia
Multimedia--> mjpg-streamer
Network
Network--> File Transfer -->vsftpd FTP服務器
Network--> ser2net
配置好以后保存