From: Felix Fietkau Date: Tue, 10 Jan 2017 11:20:35 +0000 (+0100) Subject: kernel: remove kmod-gianfar, it is already built into the kernel X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0b2b162db977cccb1d70b9a2625132120fe2e244;p=librecmc%2Flibrecmc.git kernel: remove kmod-gianfar, it is already built into the kernel Signed-off-by: Felix Fietkau --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 18370ddcc8..defdf0f7ee 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -805,38 +805,6 @@ endef $(eval $(call KernelPackage,of-mdio)) -define KernelPackage/fsl-pq-mdio - SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=Freescale PQ MDIO bus support - DEPENDS:=@TARGET_mpc85xx +kmod-of-mdio - KCONFIG:=CONFIG_FSL_PQ_MDIO - FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/fsl_pq_mdio.ko - AUTOLOAD:=$(call AutoLoad,42,fsl_pq_mdio) -endef - -define KernelPackage/fsl-pq-mdio/description - Kernel driver for the Freescale PQ MDIO bus -endef - -$(eval $(call KernelPackage,fsl-pq-mdio)) - - -define KernelPackage/gianfar - SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=Gianfar Ethernet support - DEPENDS:=@TARGET_mpc85xx +kmod-fsl-pq-mdio - KCONFIG:=CONFIG_GIANFAR - FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_driver.ko - AUTOLOAD:=$(call AutoProbe,gianfar_driver) -endef - -define KernelPackage/gianfar/description - Kernel driver for Freescale Gianfar Ethernet support -endef - -$(eval $(call KernelPackage,gianfar)) - - define KernelPackage/vmxnet3 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=VMware VMXNET3 ethernet driver diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 9821780641..81c04705de 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -817,7 +817,7 @@ $(eval $(call KernelPackage,ptp)) define KernelPackage/ptp-gianfar SUBMENU:=$(OTHER_MENU) TITLE:=Freescale Gianfar PTP support - DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp + DEPENDS:=@TARGET_mpc85xx +kmod-ptp KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko AUTOLOAD:=$(call AutoProbe,gianfar_ptp)