imx6: build support for the ventana ethernet expansion board into the kernel instead of packaging it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		@@ -130,24 +130,6 @@ endef
 | 
				
			|||||||
$(eval $(call KernelPackage,et131x))
 | 
					$(eval $(call KernelPackage,et131x))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define KernelPackage/gw16083
 | 
					 | 
				
			||||||
  SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
					 | 
				
			||||||
  TITLE:=Gateworks Ventana Ethernet Expansion Mezzanine driver
 | 
					 | 
				
			||||||
  URL:=http://www.gateworks.com
 | 
					 | 
				
			||||||
  FILES:=$(LINUX_DIR)/drivers/net/phy/gw16083.ko
 | 
					 | 
				
			||||||
  KCONFIG:=CONFIG_GATEWORKS_GW16083
 | 
					 | 
				
			||||||
  DEPENDS:=@TARGET_imx6 @PCI_SUPPORT +kmod-libphy +kmod-igb
 | 
					 | 
				
			||||||
  AUTOLOAD:=$(call AutoLoad,36,gw16083)
 | 
					 | 
				
			||||||
endef
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
define KernelPackage/gw16083/description
 | 
					 | 
				
			||||||
 This package contains the gw16083 kernel module for supporting the Gateworks
 | 
					 | 
				
			||||||
 Ventana Ethernet Expansion Mezzanine.
 | 
					 | 
				
			||||||
endef
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
$(eval $(call KernelPackage,gw16083))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
define KernelPackage/phylib-broadcom
 | 
					define KernelPackage/phylib-broadcom
 | 
				
			||||||
   SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
					   SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
				
			||||||
   TITLE:=Broadcom Ethernet PHY library
 | 
					   TITLE:=Broadcom Ethernet PHY library
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -144,6 +144,7 @@ CONFIG_FS_MBCACHE=y
 | 
				
			|||||||
CONFIG_FS_POSIX_ACL=y
 | 
					CONFIG_FS_POSIX_ACL=y
 | 
				
			||||||
CONFIG_FTRACE=y
 | 
					CONFIG_FTRACE=y
 | 
				
			||||||
# CONFIG_FTRACE_SYSCALLS is not set
 | 
					# CONFIG_FTRACE_SYSCALLS is not set
 | 
				
			||||||
 | 
					CONFIG_GATEWORKS_GW16083=y
 | 
				
			||||||
CONFIG_GENERIC_ALLOCATOR=y
 | 
					CONFIG_GENERIC_ALLOCATOR=y
 | 
				
			||||||
CONFIG_GENERIC_BUG=y
 | 
					CONFIG_GENERIC_BUG=y
 | 
				
			||||||
CONFIG_GENERIC_CLOCKEVENTS=y
 | 
					CONFIG_GENERIC_CLOCKEVENTS=y
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -90,7 +90,7 @@ define Device/ventana
 | 
				
			|||||||
	kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
 | 
						kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
 | 
				
			||||||
	kmod-can kmod-can-flexcan kmod-can-raw \
 | 
						kmod-can kmod-can-flexcan kmod-can-raw \
 | 
				
			||||||
	kmod-hwmon-gsc \
 | 
						kmod-hwmon-gsc \
 | 
				
			||||||
	kmod-leds-gpio kmod-pps-gpio kmod-gw16083 \
 | 
						kmod-leds-gpio kmod-pps-gpio \
 | 
				
			||||||
	kobs-ng
 | 
						kobs-ng
 | 
				
			||||||
  KERNEL += | boot-overlay
 | 
					  KERNEL += | boot-overlay
 | 
				
			||||||
  IMAGES := nand.ubi bootfs.tar.gz
 | 
					  IMAGES := nand.ubi bootfs.tar.gz
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user