From: Felix Fietkau Date: Tue, 12 Apr 2011 21:28:48 +0000 (+0000) Subject: kernel: include firmware in the e100 package (backport of r26539) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2d36710525a09e5e4ad66ccd86a1cfa56da3e8ca;p=openwrt%2Fsvn-archive%2Farchive.git kernel: include firmware in the e100 package (backport of r26539) SVN-Revision: 26628 --- diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 4526e2919f..87c6dff8b6 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -211,6 +211,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))