Skip to content

xkstudio/openwrt-lede

This branch is 187 commits ahead of, 3997 commits behind coolsnowwolf/lede:master.

Folders and files

NameName
Last commit message
Last commit date
Aug 6, 2020
May 28, 2024
Jul 6, 2020
May 14, 2020
Jan 8, 2025
Jan 13, 2025
Jun 6, 2024
May 30, 2024
Jul 2, 2020
Jan 8, 2025
Sep 11, 2017
Jul 19, 2020
Sep 6, 2017
Dec 12, 2017
Sep 6, 2017
May 12, 2024
Jan 8, 2025
Apr 8, 2024
May 16, 2024
May 25, 2024
Apr 6, 2024

Repository files navigation

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

Languages

  • C 90.3%
  • Makefile 3.8%
  • Shell 2.0%
  • Roff 1.1%
  • Python 0.6%
  • Lua 0.5%
  • Other 1.7%