diy.sh 1.1 KB

123456789101112131415161718192021222324252627282930
  1. #!/bin/bash
  2. shopt -s extglob
  3. sed -i "s/BOARD:=rockchip$/BOARD:=rockchip_rk3588/" target/linux/rockchip/Makefile
  4. sed -i -e 's,kmod-r8168,kmod-r8169,g' target/linux/rockchip/image/armv8.mk
  5. sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += fdisk lsblk kmod-drm-rockchip/' target/linux/rockchip/Makefile
  6. echo '
  7. CONFIG_SENSORS_PWM_FAN=y
  8. ' >> ./target/linux/rockchip/armv8/config-5.10
  9. sed -i "/KernelPackage,ptp/d" package/kernel/linux/modules/other.mk
  10. mv -f target/linux/rockchip target/linux/rockchip_rk3588
  11. rm -rf package/devel/perf package/feeds/kiddin9/{shortcut-fe,oaf,fast-classifier,rtl8821cu,rtl88x2bu} package/kernel/rtl8812au-ct package/kernel/ath10k-ct package/feeds/routing/batman-adv
  12. sed -i "/KernelPackage,dma-buf/d" package/kernel/linux/modules/other.mk
  13. sed -i "/friendlyelec/d" package/feeds/kiddin9/base-files/files/lib/preinit/02_sysinfo
  14. rm -rf devices/common/patches/enable_wifi.patch
  15. sed -i "s/ath11k ath11k-ahb ath11k-pci //" package/kernel/mac80211/ath.mk
  16. #curl -sfL https://raw.githubusercontent.com/coolsnowwolf/lede/master/package/kernel/linux/modules/video.mk -o package/kernel/linux/modules/video.mk