diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-08 21:53:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-08 21:53:38 +0000 |
commit | df49468a5161b466bba806c89f2e056ed54e4e98 (patch) | |
tree | 074864cb9fac0e685457587030013f0beab5a8e9 /package/kernel/modules/netdevices.mk | |
parent | b62cc9ae9b89d0c4cb3707480a6737525e4dee8a (diff) | |
download | upstream-df49468a5161b466bba806c89f2e056ed54e4e98.tar.gz upstream-df49468a5161b466bba806c89f2e056ed54e4e98.tar.bz2 upstream-df49468a5161b466bba806c89f2e056ed54e4e98.zip |
kernel: include firmware in the e100 package
SVN-Revision: 26539
Diffstat (limited to 'package/kernel/modules/netdevices.mk')
-rw-r--r-- | package/kernel/modules/netdevices.mk | 7 |
1 files changed, 7 insertions, 0 deletions
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)) |