diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-04-08 21:53:38 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-04-08 21:53:38 +0000 |
commit | 268ceb4392127ebd9dad18ba4ed7d0b227e8c37f (patch) | |
tree | 12b079f877765c431a8cb3a99a48a2b2cc283f04 /package/kernel/modules | |
parent | 28304035b10ba9a49926a7dc6a971c9778223ce8 (diff) |
kernel: include firmware in the e100 package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26539 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-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 762a17177..7d6ff5eb8 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)) |