1. 首先裝好 Ubuntu 64位系統,推薦 Ubuntu 18.04.2 LTS x64
2. 命令列輸入 sudo apt-get update ,然後輸入
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint
3. git clone openwrt/openwrt 命令下載好原始碼,然後 cd openwrt 進入目錄
4. ./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
5. 最後選好你要的路由,Target System (x86) ---> Subtarget (x86_64) --->
輸入 make -j1 V=s (-j1 後面是執行緒數。第一次編譯推薦用單執行緒)即可開始編譯你要的韌體了。
1. 首先裝好 Ubuntu 64位系統,推薦 Ubuntu 18.04.2 LTS x64
2. 命令列輸入 sudo apt-get update ,然後輸入
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint
3. git clone openwrt/openwrt 命令下載好原始碼,然後 cd openwrt 進入目錄
4. ./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
5. 最後選好你要的路由,Target System (x86) ---> Subtarget (x86_64) --->
輸入 make -j1 V=s (-j1 後面是執行緒數。第一次編譯推薦用單執行緒)即可開始編譯你要的韌體了。