diff --git a/devices/ipq807x/diy.sh b/devices/ipq807x/diy.sh index 5c0f653e199d..735e33cabea5 100644 --- a/devices/ipq807x/diy.sh +++ b/devices/ipq807x/diy.sh @@ -31,6 +31,7 @@ svn export --force https://github.com/Boos4721/openwrt/trunk/package/boot/uboot- svn co https://github.com/Boos4721/openwrt/trunk/target/linux/ipq807x target/linux/ipq807x svn co https://github.com/Boos4721/openwrt/trunk/target/linux/generic/pending-5.15 target/linux/generic/pending-5.15 curl -sfL https://raw.githubusercontent.com/Boos4721/openwrt/master/package/kernel/linux/modules/netsupport.mk -o package/kernel/linux/modules/netsupport.mk +curl -sfL https://raw.githubusercontent.com/Lstions/openwrt-boos/master/target/linux/ipq807x/patches-5.15/608-5.15-qca-nss-ssdk-delete-fdb-entry-using-netdev -o target/linux/ipq807x/patches-5.15/608-5.15-qca-nss-ssdk-delete-fdb-entry-using-netdev.patch kernel_v="$(cat include/kernel-5.15 | grep LINUX_KERNEL_HASH-* | cut -f 2 -d - | cut -f 1 -d ' ')" echo "KERNEL=${kernel_v}" >> $GITHUB_ENV || true diff --git a/devices/ipq807x/patches/modules.patch b/devices/ipq807x/patches/modules.patch new file mode 100644 index 000000000000..74d8c5fbc3c7 --- /dev/null +++ b/devices/ipq807x/patches/modules.patch @@ -0,0 +1,20 @@ +--- a/package/kernel/linux/modules/other.mk ++++ b/package/kernel/linux/modules/other.mk +@@ -1322,3 +1322,17 @@ define KernelPackage/mhi-pci-generic/description + endef + + $(eval $(call KernelPackage,mhi-pci-generic)) ++ ++define KernelPackage/qcom-qmi-helpers ++ SUBMENU:=$(OTHER_MENU) ++ TITLE:=Qualcomm QMI Helpers ++ KCONFIG:=CONFIG_QCOM_QMI_HELPERS ++ FILES:=$(LINUX_DIR)/drivers/soc/qcom/qmi_helpers.ko ++ AUTOLOAD:=$(call AutoProbe,qmi_helpers) ++endef ++ ++define KernelPackage/qcom-qmi-helpers/description ++ Qualcomm QMI Helpers ++endef ++ ++$(eval $(call KernelPackage,qcom-qmi-helpers))