Skip to content
Snippets Groups Projects
Commit 37de17c3 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

linux: kmod-e100: use preconverted firmware files


Instead of converting the firmware files ourselves, use the files
generated during the normal kernel build process. This fixes packaging
kmod-e100 in the SDK environment.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 484cb91a
No related branches found
No related tags found
No related merge requests found
......@@ -464,9 +464,9 @@ 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); \
)
$(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101m_ucode.bin $(1)/lib/firmware/e100/
$(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101s_ucode.bin $(1)/lib/firmware/e100/
$(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d102e_ucode.bin $(1)/lib/firmware/e100/
endef
$(eval $(call KernelPackage,e100))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment