build: fix pwm fan control

pull/983/head^2 2021-11-22
John Doe 2021-11-22 08:12:10 +08:00
parent dafb6ece97
commit c75f1c6ba8
No known key found for this signature in database
GPG Key ID: 30F190E0C359CB4F
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ if [ $BRANCH == 'master' ]; then
wget https://github.com/friendlyarm/friendlywrt/commit/cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
git apply cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
rm cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
sed -i 's/pwmchip1/pwmchip0/' target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol.sh target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol-direct.sh
#this is a ugly fix
sed -i '/procd-ujail/d' include/target.mk