Add readme
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# OpenWrt builder
|
||||
|
||||
For OpenWrt >= 21.02
|
||||
|
||||
## Install dependencies
|
||||
|
||||
```
|
||||
sudo apt-get install git git-core curl rsync
|
||||
sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex gettext libssl-dev unzip
|
||||
```
|
||||
|
||||
## Build firmware
|
||||
|
||||
```
|
||||
git clone https://github.com/openwrt-xiaomi/builder -b v21 openwrt-v21
|
||||
cd openwrt-v21
|
||||
./xcreate.sh -v xq-21.02.1
|
||||
cd xq-21.02.1
|
||||
./xupdate.sh -f
|
||||
./xmake.sh -f -t r3d
|
||||
```
|
||||
@@ -26,7 +26,7 @@ fi
|
||||
|
||||
XTOPDIR=$XDIR/$TARGET_BRANCH
|
||||
|
||||
find . -maxdepth 1 -type f -name "*.sh" -exec chmod 775 -- {} + >/dev/null
|
||||
#find . -maxdepth 1 -type f -name "*.sh" -exec chmod 775 -- {} + >/dev/null
|
||||
find . -maxdepth 1 -type f -name "*.sh" -exec cp {} $XTOPDIR \; >/dev/null
|
||||
find . -maxdepth 1 -type f -name "*.config" -exec cp {} $XTOPDIR \; >/dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user