[source] kernel: pull edgeport firmware from linux-firmware repo

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 16 13:57:52 PST 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/f922b0c191e5cb831b51968c0e88176f7484adef

commit f922b0c191e5cb831b51968c0e88176f7484adef
Author: Bjørn Mork <bjorn at mork.no>
AuthorDate: Fri Nov 10 19:57:23 2017 +0100

    kernel: pull edgeport firmware from linux-firmware repo
    
    The kernel firmware/ is going away, so pull this firmware
    from the linux-firmware git repo instead. No actual changes
    to the installed files.
    
    Signed-off-by: Bjørn Mork <bjorn at mork.no>
---
 package/kernel/linux/modules/usb.mk | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index bb8aeb0..d1fb5f4 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -509,6 +509,7 @@ define KernelPackage/usb-serial-edgeport
   FILES:=$(LINUX_DIR)/drivers/usb/serial/io_edgeport.ko
   AUTOLOAD:=$(call AutoProbe,io_edgeport)
   $(call AddDepends/usb-serial)
+  DEPENDS+=+edgeport-firmware
 endef
 
 define KernelPackage/usb-serial-edgeport/description
@@ -531,14 +532,6 @@ define KernelPackage/usb-serial-edgeport/description
 	Edgeport/16 Dual
 endef
 
-define KernelPackage/usb-serial-edgeport/install
-	$(INSTALL_DIR) $(1)/lib/firmware/edgeport
-	$(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/boot.fw $(1)/lib/firmware/edgeport/
-	$(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/boot2.fw $(1)/lib/firmware/edgeport/
-	$(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/down.fw $(1)/lib/firmware/edgeport/
-	$(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/down2.fw $(1)/lib/firmware/edgeport/
-endef
-
 $(eval $(call KernelPackage,usb-serial-edgeport))
 
 



More information about the lede-commits mailing list