From: Felix Fietkau Date: Fri, 8 Apr 2011 21:53:38 +0000 (+0000) Subject: kernel: include firmware in the e100 package X-Git-Tag: reboot~16975 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=df49468a5161b466bba806c89f2e056ed54e4e98;p=openwrt%2Fstaging%2Fchunkeey.git kernel: include firmware in the e100 package SVN-Revision: 26539 --- diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 762a171773..7d6ff5eb8a 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -270,6 +270,13 @@ define KernelPackage/e100/description Kernel modules for Intel(R) PRO/100+ Ethernet adapters. endef +define KernelPackage/e100/install + $(INSTALL_DIR) $(1)/lib/firmware/e100 + $(foreach file,d101m_ucode.bin d101s_ucode.bin d102e_ucode.bin, \ + $(TARGET_CROSS)objcopy -Iihex -Obinary $(LINUX_DIR)/firmware/e100/$(file).ihex $(1)/lib/firmware/e100/$(file); \ + ) +endef + $(eval $(call KernelPackage,e100))