mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 09:56:12 +02:00
kernel: modules: fix kmod-iavf dependencies
Add missing dependency kmod-ptp to fix the build error. We also add symbol CONFIG_PTP_1588_CLOCK_OPTIONAL explicitly for kmod-ptp because it is selected by CONFIG_PTP_1588_CLOCK. Fix: Package kmod-iavf is missing dependencies for the following libraries: ptp.ko Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/22730 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
cce5a153f7
commit
5bbf58c4a6
@ -1543,7 +1543,7 @@ $(eval $(call KernelPackage,ice))
|
||||
define KernelPackage/iavf
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
|
||||
DEPENDS:=@PCI_SUPPORT +kmod-libie +!LINUX_6_12:kmod-libie-adminq
|
||||
DEPENDS:=@PCI_SUPPORT +kmod-libie +!LINUX_6_12:kmod-libie-adminq +!LINUX_6_12:kmod-ptp
|
||||
KCONFIG:= \
|
||||
CONFIG_I40EVF \
|
||||
CONFIG_IAVF
|
||||
|
||||
@ -843,6 +843,7 @@ define KernelPackage/ptp
|
||||
DEPENDS:=+kmod-pps
|
||||
KCONFIG:= \
|
||||
CONFIG_PTP_1588_CLOCK \
|
||||
CONFIG_PTP_1588_CLOCK_OPTIONAL \
|
||||
CONFIG_NET_PTP_CLASSIFY=y
|
||||
FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
|
||||
AUTOLOAD:=$(call AutoLoad,18,ptp,1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user