diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 4526e2919..87c6dff8b 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))