Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.25 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.25 KB

K-Wrt 21.06

Based on OpenWrt Lede

Introduction

Support the old router firmware, such as ar71xx, etc.

Build

System

Recommend Ubuntu 20.24 or Ubuntu 22.04

Tips: If you use Ubuntu 22.04, pleaes use gcc-9.5.0 and g++-9.5.0 to compile.

Install Build Packages

sudo apt update
sudo apt install ack asciidoc autoconf automake autopoint binutils bison build-essential \
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib \
g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev \
libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev \
libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp \
ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools \
python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo \
upx-ucl unzip vim wget xmlto xxd zlib1g-dev

Tips: mkisofs on Ubuntu 20.04, for Ubuntu 22.04 is called genisoimage

Update and install feeds packages

./scripts/feeds update -a
./scripts/feeds install -a

Select a device model

make menuconfig

Start complie

make -j 6

For debug

make -j 1 V=sc