generated from P3TERX/Actions-OpenWrt
-
Notifications
You must be signed in to change notification settings - Fork 19
Home
易大宝 edited this page Jan 22, 2023
·
4 revisions
- sudo apt-get update
- sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev libgcc1 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 device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync libfuse-dev
- git clone https://github.com/openwrt/openwrt
- cd openwrt
- sed -i '$a src-git kiddin9 https://github.com/kiddin9/openwrt-packages/' feeds.conf.default
- git pull
- ./scripts/feeds update -a
- ./scripts/feeds install -a
- make menuconfig
- make download -j8
- make V=s -j1
- cd openwrt
- git pull
- ./scripts/feeds update -a && ./scripts/feeds install -a
- make defconfig
- make -j8 downloadmake -j$(($(nproc) + 1)) V=s
- cd openwrt
- rm -rf ./tmp && rm -rf .config
- make menuconfig
- make -j$(($(nproc) + 1)) V=s
- package/base-files/files/bin/config_generate