setup openwrt in my ubuntu

setup the related lib:

sudo apt-get install g++ libncurses5-dev zlib1g-dev bison flex unzip autoconf gawk make gettext gcc binutils patch bzip2 libz-dev asciidoc subversion sphinxsearch libtool sphinx-common libssl-dev libssl0.9.8

download openwrt source code

you can download it from the github:
ssh:git clone [email protected]:openwrt/openwrt.git
http:git clone https://github.com/openwrt/openwrt.git

or you can use the mirror source:
git clone https://github.com/openwrt-mirror/openwrt.git

update the source package

after unziping the package, enter the root path, update the code:

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

compile

make menuconfig

then choose the dut version which you need, then:

make V=s -j

mainland’s source and setup reference

https://www.cnblogs.com/yaozuopan/p/12840424.html

你可能感兴趣的:(openwrt,openwrt,ubuntu,linux)