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 | bbbb039a9255a03683b55572b31e61f3949abac2 (patch) | |
tree | 12b079f877765c431a8cb3a99a48a2b2cc283f04 | |
parent | 3c7471989ad5df91977e97554f80e9f6fc66d540 (diff) | |
download | upstream-bbbb039a9255a03683b55572b31e61f3949abac2.tar.gz upstream-bbbb039a9255a03683b55572b31e61f3949abac2.tar.bz2 upstream-bbbb039a9255a03683b55572b31e61f3949abac2.zip |
kernel: include firmware in the e100 package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26539 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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)) |