From 268ceb4392127ebd9dad18ba4ed7d0b227e8c37f Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 8 Apr 2011 21:53:38 +0000 Subject: kernel: include firmware in the e100 package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26539 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/netdevices.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/kernel') 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)) -- cgit v1.2.3