Lean’s LEDE 固件编译记录

—————202106更新添加helloword方法—————–
feeds.conf.default 删除了科学插件,需要手动添加

nano feeds.conf.default
src-git helloworld https://github.com/fw876/helloworld

————————————————–
git地址: https://github.com/coolsnowwolf/lede
以下是openwrt19.07 linksys wrt32x的一些配置,并不是除了下面其他都不选了, 下面的至少是需要稍微注意的选项, 根据个人需要选择.

make menuconfig

Target System (Marvell EBU Armada)
Subtarget (Marvell Armada 37x/38x/XP)
Target Profile (Linksys WRT32X (Venom))  ---> 

Target Images
[*] squashfs (NEW)

--------------------
Base system
-*- dnsmasq-full
[*]   Build with DHCP support. (NEW)
[*]     Build with DHCPv6 support.
[*]   Build with DNSSEC support.
[*]   Build with IPset support. (NEW)

Administration
<*> htop

--------------------
LUCI
1. Collections
-*- luci
<*> luci-ssl-openssl

3. Applications 
<*> luci-app-accesscontrol
<*> luci-app-advanced-reboot
<*> luci-app-arpbind.
<*> luci-app-attendedsysupgrade
<*> luci-app-autoreboot
<*> luci-app-ddns
<*> luci-app-filetransfer
-*- luci-app-firewall
<*> luci-app-flowoffload
<*> luci-app-guest-wifi
<*> luci-app-meshwizard
-*- luci-app-mwan3
<*> luci-app-mwan3helper
<*> luci-app-nlbwmon
<*> luci-app-qos
<*> luci-app-ramfree
<*> luci-app-ssr-plus
[*] Include Shadowsocks New Version
[*] Include V2ray
[*] Include Trojan
[*] Include Kcptun
<*> luci-app-syncdial
<*> luci-app-upnp
<*> luci-app-vlmcsd
<*> luci-app-wireguard
<*> luci-app-wol

4. Themes (主题自选)

5. Protocols
<*> luci-proto-openconnect
-*- luci-proto-ppp
-*- luci-proto-wireguard

--------------------
Network
File Transfer  --->
<*> curl
-*- wget

IP Addresses and Names
<*> bind-dig

Web Servers/Proxies
-*- shadowsocks-libev-config
<*> shadowsocks-libev-ss-local
-*- shadowsocks-libev-ss-redir
<*> shadowsocks-libev-ss-rules
<*> shadowsocks-libev-ss-tunnel

Routing and Redirection
-*- ip-full

第一级下面
<*> iperf3
-*- ipset

--------------------
Utilities

Compression 
<*> bzip2
<*> gzip
<*> unzip
<*> zip

Editors
<*> nano

Shells
<*> bash

修改路由ip地址/主机名
package/base-files/files/bin/config_generate
lan) ipad=${ipaddr:-"192.168.1.1"} ;;
set system.@system[-1].hostname='OpenWrt'

保存成 .config
然后编译
make -j1 V=s

LEDE 二次编译源码清理
!!! 一定要先备份之前的 .config !!!

make clean && make dirclean && make distclean && rm -rf tmp && git pull
make dirclean
make distclean
rm -rf tmp
git pull

参考:
如何从零开始编译OpenWRT(LEDE)固件【Lean大源码】
OpenWrt/LEDE修改源码编译自定义路由器系统

上一篇
下一篇