build: fix x86

This commit is contained in:
John Doe
2021-09-13 23:38:52 +08:00
parent 8fed95e9f4
commit 9b9bf00933
2 changed files with 1 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ if [ $DEVICE != 'r1s' ]; then
# remove non-exist package from x86 profile
sed -i 's/kmod-i40evf//' target/linux/x86/Makefile
sed -i 's/KERNEL_PATCHVER:=5.10/KERNEL_PATCHVER:=5.4/' target/linux/x86/Makefile
# enable r2s oled plugin by default
sed -i "s/enable '0'/enable '1'/" `find package/ -follow -type f -path '*/luci-app-oled/root/etc/config/oled'`